summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r--bootstraptest/test_knownbug.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 08661149f6..c6063cdff5 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -170,10 +170,9 @@ assert_equal '[nil, []]', %q{
}, '[ruby-dev:32567]'
assert_normal_exit %q{
- require 'stringio'
- s = ""
+ e = [1,2,3].each
10000.times {
- s = "a".instance_eval { @a = StringIO.new(s); self }
+ e = [e].each
}
Thread.new { GC.start }.join
}, '[ruby-dev:32604]'