summaryrefslogtreecommitdiff
path: root/test/-ext-/iter
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/iter')
-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 0036854fd4..c03a8ee370 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