1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
```
This commit is contained in:
Yusuke Endoh 2019-12-10 11:26:22 +09:00
parent 660388f6c5
commit c50d9dc67d

View file

@ -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