mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_keyword.rb: suppress warning
* test/ruby/test_keyword.rb (TestKeywordArguments#m1): suppress argument prefix warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c07d78eb0e
commit
6f8feb2276
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class TestKeywordArguments < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def m1(*args)
|
def m1(*args)
|
||||||
yield *args
|
yield(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_block
|
def test_block
|
||||||
|
|
Loading…
Add table
Reference in a new issue