aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_enum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_enum.rb')
-rw-r--r--test/ruby/test_enum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_enum.rb b/test/ruby/test_enum.rb
index fcf601c183..b2cb61106e 100644
--- a/test/ruby/test_enum.rb
+++ b/test/ruby/test_enum.rb
@@ -620,7 +620,7 @@ class TestEnumerable < Test::Unit::TestCase
assert_operator(i, :<=, 5, "infinite loop")
c.call
end
- end
+ end if nil
def test_reverse_each
assert_equal([2,1,3,2,1], @obj.reverse_each.to_a)