diff options
Diffstat (limited to 'test/ruby/test_iterator.rb')
-rw-r--r-- | test/ruby/test_iterator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb index 296efaf269..4947ed26ce 100644 --- a/test/ruby/test_iterator.rb +++ b/test/ruby/test_iterator.rb @@ -252,7 +252,7 @@ class TestIterator < Test::Unit::TestCase assert_nothing_raised {Proc.new{|a,|}.call(1,2)} end - def return1_test # !! test_return1 -> return1_test + def return1_test Proc.new { return 55 }.call + 5 @@ -262,7 +262,7 @@ class TestIterator < Test::Unit::TestCase assert_equal(55, return1_test()) end - def return2_test # !! test_return2 -> return2_test + def return2_test lambda { return 55 }.call + 5 |