mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby/test_keyword.rb: Prevent warning: assigned but unused variable
This commit is contained in:
parent
abe2bb1d7c
commit
44a911a293
1 changed files with 0 additions and 1 deletions
|
@ -215,7 +215,6 @@ class TestKeywordArguments < Test::Unit::TestCase
|
|||
marked = args.last
|
||||
assert_equal(true, Hash.ruby2_keywords_hash?(marked))
|
||||
|
||||
method_args = [args]
|
||||
after_usage = single(*args)
|
||||
assert_equal(h, after_usage)
|
||||
assert_same(marked, args.last)
|
||||
|
|
Loading…
Add table
Reference in a new issue