summaryrefslogtreecommitdiff
path: root/test/csv/interface/test_read.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-20 12:29:51 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-30 12:39:31 -0700
commit856bb3c35d5d81481b2e5dd00353298e8a0c2ee7 (patch)
tree02844dc2808b315f85ecf71f460e2d49e43d53d4 /test/csv/interface/test_read.rb
parent42adc5bc6bb532e20bf2191ad99781ee701dea36 (diff)
Fix remaining warning issues in the tests due to keyword argument separation
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2395
Diffstat (limited to 'test/csv/interface/test_read.rb')
-rw-r--r--test/csv/interface/test_read.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/csv/interface/test_read.rb b/test/csv/interface/test_read.rb
index 52620964c0..58ec188f94 100644
--- a/test/csv/interface/test_read.rb
+++ b/test/csv/interface/test_read.rb
@@ -266,12 +266,12 @@ class TestCSVInterfaceRead < Test::Unit::TestCase
def test_options_not_modified
options = {}.freeze
- CSV.foreach(@input.path, options)
- CSV.open(@input.path, options) {}
- CSV.parse("", options)
- CSV.parse_line("", options)
- CSV.read(@input.path, options)
- CSV.readlines(@input.path, options)
- CSV.table(@input.path, options)
+ CSV.foreach(@input.path, **options)
+ CSV.open(@input.path, **options) {}
+ CSV.parse("", **options)
+ CSV.parse_line("", **options)
+ CSV.read(@input.path, **options)
+ CSV.readlines(@input.path, **options)
+ CSV.table(@input.path, **options)
end
end