summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-25 06:07:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-25 06:07:36 +0000
commitbb75f97549725e4b92e31b9b65819d385925bb88 (patch)
tree36953f84899bbec86a106933eb15d57c0cc5bae7 /test/ruby
parenta0708e0e0116ed88881f998317a4129226a6c427 (diff)
downloadruby-bb75f97549725e4b92e31b9b65819d385925bb88.tar.gz
ruby-bb75f97549725e4b92e31b9b65819d385925bb88.tar.xz
ruby-bb75f97549725e4b92e31b9b65819d385925bb88.zip
* sample/test.rb: "print nil" now prints empty string.
* test/ruby/test_system.rb (TestSystem::test_system): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb
index 298f3c043..4cd93738f 100644
--- a/test/ruby/test_system.rb
+++ b/test/ruby/test_system.rb
@@ -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")