diff options
Diffstat (limited to 'test/ruby/test_iterator.rb')
-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 4b9e7c17a1..2c367d22dc 100644 --- a/test/ruby/test_iterator.rb +++ b/test/ruby/test_iterator.rb @@ -203,7 +203,7 @@ class TestIterator < Test::Unit::TestCase def test_proc assert_instance_of(Proc, lambda{}) assert_instance_of(Proc, Proc.new{}) - lambda{|a|assert(a==1)}.call(1) + lambda{|a|assert_equal(a, 1)}.call(1) end def test_block |