diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-10 04:03:30 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-10 04:03:30 +0000 |
commit | 52c50bf5f57d6651d2e709a8cb472b19607601d3 (patch) | |
tree | 2c580ddbf48375b0b8655e3ca2430d290f9391e5 /test | |
parent | e91c04e2e97ced1031200477c3ca1d4144f76989 (diff) |
Revert of 37541 "* test/ruby/test_enumerator.rb: Add test to shed light upon the bug"
[#7298]
This reverts commit 0ab21f9572d5d5f76b908aaf3381cde32a64c4c8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_enumerator.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/test_enumerator.rb b/test/ruby/test_enumerator.rb index 6c33e5db5d..896bf3f3f2 100644 --- a/test/ruby/test_enumerator.rb +++ b/test/ruby/test_enumerator.rb @@ -67,9 +67,6 @@ class TestEnumerator < Test::Unit::TestCase assert_match 'Enumerator.new without a block is deprecated', err assert_equal([1, 2, 3], Enumerator.new { |y| i = 0; loop { y << (i += 1) } }.take(3)) assert_raise(ArgumentError) { Enumerator.new } - assert_equal([1, 2, 3], Enumerator.new([1, 2, 3]).take(3)) - bug7298 = '[ruby-core:49001]' - assert_equal([4, 5, 6], Enumerator.new([4, 5, 6]){|y| i = 0; loop { y << (i+=1) } }.take(3)) end def test_initialize_copy |