summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_proc.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb
index 875a000b7c0..ab309fe534f 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]'