mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix keyword argument warnings in the tests from Class#new
This were previously hidden because calls from C were not warned.
This commit is contained in:
parent
434582d888
commit
146677a1e7
Notes:
git
2019-09-07 11:41:45 +09:00
4 changed files with 6 additions and 6 deletions
|
@ -312,12 +312,12 @@ A
|
|||
end
|
||||
|
||||
def test_parse_empty
|
||||
assert_equal(CSV::Table.new([], {}),
|
||||
assert_equal(CSV::Table.new([], **{}),
|
||||
CSV.parse("", headers: true))
|
||||
end
|
||||
|
||||
def test_parse_empty_line
|
||||
assert_equal(CSV::Table.new([], {}),
|
||||
assert_equal(CSV::Table.new([], **{}),
|
||||
CSV.parse("\n", headers: true))
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue