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

* bootstraptest/test_proc.rb: fixed wrong expected result. pointed

out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
  [ruby-core:15022].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-01-12 02:29:47 +00:00
parent 603f9304b2
commit a615bbf40b
2 changed files with 8 additions and 3 deletions

View file

@ -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]'