From a615bbf40b96ee1b664d726daf11748d57842b66 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 12 Jan 2008 02:29:47 +0000 Subject: * bootstraptest/test_proc.rb: fixed wrong expected result. pointed out by Kornelius "murphy" Kalnbach in [ruby-core:15022]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_proc.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bootstraptest/test_proc.rb') diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb index 875a000b7c..ab309fe534 100644 --- a/bootstraptest/test_proc.rb +++ b/bootstraptest/test_proc.rb @@ -253,10 +253,9 @@ assert_equal %q{3}, %q{ a + 2 }.call } - -assert_equal %q{ok}, %q{ +assert_equal %Q{ok\n}, %q{ class A; def get_block; proc {puts "ok"} end end block = A.new.get_block GC.start block.call -} +}, '[ruby-core:14885]' -- cgit v1.2.3