summaryrefslogtreecommitdiff
path: root/test/-ext-/iter/test_yield_block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/iter/test_yield_block.rb')
-rw-r--r--test/-ext-/iter/test_yield_block.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/iter/test_yield_block.rb b/test/-ext-/iter/test_yield_block.rb
index 0036854..c03a8ee 100644
--- a/test/-ext-/iter/test_yield_block.rb
+++ b/test/-ext-/iter/test_yield_block.rb
@@ -16,7 +16,7 @@ class TestIter::YieldBlock < Test::Unit::TestCase
block.call {}
end
def call_lambda(&block)
- block.call &->{}
+ block.call(&->{})
end
end