diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_iterator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb index 8a2b81693b..0db54302f5 100644 --- a/test/ruby/test_iterator.rb +++ b/test/ruby/test_iterator.rb @@ -52,7 +52,7 @@ class TestIterator < Test::Unit::TestCase def test_nested_iterator i = 0 tt{|i| break if i == 5} - assert_equal(5, i) + assert_equal(0, i) assert_raises(ArgumentError) do tt3{} |