summaryrefslogtreecommitdiff
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_iterator.rb')
-rw-r--r--test/ruby/test_iterator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb
index 42e3960e72..362becc0e0 100644
--- a/test/ruby/test_iterator.rb
+++ b/test/ruby/test_iterator.rb
@@ -306,7 +306,7 @@ class TestIterator < Test::Unit::TestCase
rescue LocalJumpError
assert(false, "LocalJumpError occurred from break in lambda")
else
- assert(11, val)
+ assert_equal(11, val)
end
block = get_block{11}