summaryrefslogtreecommitdiff
path: root/test/-ext-/iter
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-01 15:20:21 +0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-01 15:20:21 +0300
commit464e55f1d0296c3593157a89159f75d58397a1f5 (patch)
tree633c2997092665be7b423a7f9ebde4f7cf913928 /test/-ext-/iter
parent3c77ef9adc567af58e27c62db35d618f3b3069d2 (diff)
Ignore warnings about argument prefix with operator symbol.
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