From db7f24b362bf9a0831f9a6f12ac0f1a21e476cf0 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 25 Sep 2006 06:07:36 +0000 Subject: * 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 --- test/ruby/test_system.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_system.rb') diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb index 298f3c0435..4cd93738f9 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") -- cgit v1.2.3