1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* sample/test.rb: "print nil" now prints empty string.

* test/ruby/test_system.rb (TestSystem::test_system): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-09-25 06:07:36 +00:00
parent 5cc2093ccd
commit db7f24b362
3 changed files with 8 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class TestSystem < Test::Unit::TestCase
tmp.print "this is a trailing junk\n";
tmp.close
assert_equal('nil', `#{ruby} -x script_tmp`)
assert_equal('', `#{ruby} -x script_tmp`)
assert_equal('555', `#{ruby} -x script_tmp -zzz=555`)
tmp = open("script_tmp", "w")