diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-12-10 11:26:22 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-12-10 11:26:22 +0900 |
commit | c50d9dc67d350ad4e21ff1af39635bb5a6114282 (patch) | |
tree | 9ee1507ae247a38458bbe09558b0ece20ec80b9d /test/ruby/test_keyword.rb | |
parent | 660388f6c5b148ea6f84d589482391bf78f35c6b (diff) |
test/ruby/test_keywords.rb: suppress a warning
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20191210T003005Z.log.html.gz
```
.../test/ruby/test_keyword.rb:2711: warning: `*' interpreted as argument prefix
```
Diffstat (limited to 'test/ruby/test_keyword.rb')
-rw-r--r-- | test/ruby/test_keyword.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_keyword.rb b/test/ruby/test_keyword.rb index b0199e0c53..874b09bcfa 100644 --- a/test/ruby/test_keyword.rb +++ b/test/ruby/test_keyword.rb @@ -2708,7 +2708,7 @@ class TestKeywordArguments < Test::Unit::TestCase o = Object.new def o.foo(*args) - yield *args + yield(*args) end foo = o.method(:foo).to_proc assert_warn(/Skipping set of ruby2_keywords flag for proc \(proc created from method\)/) do |