summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-15 02:39:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-15 02:39:34 +0000
commite34b2c31dff29678032d0cfb56281caca813cd9c (patch)
tree3b23f665c09709a0c3dad054c48e62d5331282c6 /bootstraptest
parent8523343780f3544bdef9fa68936f670c794999b6 (diff)
use Enumerator for reproduce [ruby-dev:32604].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-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]'