diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-15 02:39:34 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-15 02:39:34 +0000 |
| commit | f3ed28acc86bf304adfed748dbd90140d3c4eed6 (patch) | |
| tree | 3b23f665c09709a0c3dad054c48e62d5331282c6 | |
| parent | 54334911e4fd5308959a1f486bfbe61f6cea4ee1 (diff) | |
| download | ruby-f3ed28acc86bf304adfed748dbd90140d3c4eed6.tar.gz ruby-f3ed28acc86bf304adfed748dbd90140d3c4eed6.tar.xz ruby-f3ed28acc86bf304adfed748dbd90140d3c4eed6.zip | |
use Enumerator for reproduce [ruby-dev:32604].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 08661149f..c6063cdff 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]' |
