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

use Enumerator for reproduce [ruby-dev:32604].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-15 02:39:34 +00:00
parent 8523343780
commit e34b2c31df

View file

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