diff options
Diffstat (limited to 'test/ruby/test_iterator.rb')
-rw-r--r-- | test/ruby/test_iterator.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb index 2c367d22dc..296efaf269 100644 --- a/test/ruby/test_iterator.rb +++ b/test/ruby/test_iterator.rb @@ -182,8 +182,8 @@ class TestIterator < Test::Unit::TestCase def test_block_in_arg assert(m1{p 'test'}) assert(m2{p 'test'}) - assert(!m1) - assert(!m2) + assert(!m1()) + assert(!m2()) end class C @@ -356,6 +356,6 @@ class TestIterator < Test::Unit::TestCase end def test_iter4 - ITER_TEST4.new.foo(44){55} + ITER_TEST4.new.foo(44){55} end end |