diff options
author | Hiroshi SHIBATA <[email protected]> | 2019-06-01 15:20:21 +0300 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-06-01 15:20:21 +0300 |
commit | 464e55f1d0296c3593157a89159f75d58397a1f5 (patch) | |
tree | 633c2997092665be7b423a7f9ebde4f7cf913928 /test/ruby/test_refinement.rb | |
parent | 3c77ef9adc567af58e27c62db35d618f3b3069d2 (diff) |
Ignore warnings about argument prefix with operator symbol.
Diffstat (limited to 'test/ruby/test_refinement.rb')
-rw-r--r-- | test/ruby/test_refinement.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb index 49bf907302..8908d353a5 100644 --- a/test/ruby/test_refinement.rb +++ b/test/ruby/test_refinement.rb @@ -2096,7 +2096,7 @@ class TestRefinement < Test::Unit::TestCase end } def call - ToProc.call &self + ToProc.call(&self) end end @@ -2111,7 +2111,7 @@ class TestRefinement < Test::Unit::TestCase } def call - ToProc.call &self + ToProc.call(&self) end end @@ -2127,14 +2127,14 @@ class TestRefinement < Test::Unit::TestCase } def call - ToProc.call &self + ToProc.call(&self) end end class NonProc def call - ToProc.call &self + ToProc.call(&self) end end @@ -2144,7 +2144,7 @@ class TestRefinement < Test::Unit::TestCase end def call - ToProc.call &self + ToProc.call(&self) end end @@ -2163,7 +2163,7 @@ class TestRefinement < Test::Unit::TestCase } def call - ToProc.call &self + ToProc.call(&self) end end @@ -2182,7 +2182,7 @@ class TestRefinement < Test::Unit::TestCase } def call - ToProc.call &self + ToProc.call(&self) end end end |