aboutsummaryrefslogtreecommitdiffstats
path: root/sample/test.rb
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
commitdb7f24b362bf9a0831f9a6f12ac0f1a21e476cf0 (patch)
tree36953f84899bbec86a106933eb15d57c0cc5bae7 /sample/test.rb
parent5cc2093ccd5c91fe2eeb0e9a7757985569eed1c2 (diff)
downloadruby-db7f24b362bf9a0831f9a6f12ac0f1a21e476cf0.tar.gz
* 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
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index b785d2db9f..a5026d49c8 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -1839,7 +1839,7 @@ tmp.print "__END__\n";
tmp.print "this is a trailing junk\n";
tmp.close
-test_ok(`./miniruby -x script_tmp` == 'nil')
+test_ok(`./miniruby -x script_tmp` == '')
test_ok(`./miniruby -x script_tmp -zzz=555` == '555')
tmp = open("script_tmp", "w")