From 464e55f1d0296c3593157a89159f75d58397a1f5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 1 Jun 2019 15:20:21 +0300 Subject: Ignore warnings about argument prefix with operator symbol. --- test/-ext-/iter/test_yield_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/-ext-/iter') 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 -- cgit v1.2.3