summaryrefslogtreecommitdiff
path: root/test/ruby/test_keyword.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-04-07 16:55:34 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-30 12:39:31 -0700
commite0b4599bba6bea744e0e90b7640dcc21d695c434 (patch)
tree50455545fbb97d90acb73e230177607c6b7b6f0a /test/ruby/test_keyword.rb
parentd08e1004e0ee1286e4513de2a170391a4d0a0116 (diff)
Fix keyword argument separation warnings in test
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2395
Diffstat (limited to 'test/ruby/test_keyword.rb')
-rw-r--r--test/ruby/test_keyword.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_keyword.rb b/test/ruby/test_keyword.rb
index eda74276e2..ad90acfb0a 100644
--- a/test/ruby/test_keyword.rb
+++ b/test/ruby/test_keyword.rb
@@ -254,8 +254,8 @@ class TestKeywordArguments < Test::Unit::TestCase
[:keyrest, :kw], [:block, :b]], p6.parameters)
end
- def m1(*args)
- yield(*args)
+ def m1(*args, **options)
+ yield(*args, **options)
end
def test_block