aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:33:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:33:43 +0000
commite1cc51407329230aab32088ed67f78b0c5c23e8b (patch)
tree8bafa7bb2284a03c51b61884e930268507ef0e07 /test/ruby/test_iterator.rb
parent4c205de3e6fa7da642820fe069734e6321397423 (diff)
downloadruby-e1cc51407329230aab32088ed67f78b0c5c23e8b.tar.gz
* test/ruby: fixed nonsense assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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}