summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/interface/test_read.rb14
-rw-r--r--test/csv/interface/test_write.rb8
2 files changed, 11 insertions, 11 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
diff --git a/test/csv/interface/test_write.rb b/test/csv/interface/test_write.rb
index 8511204ef0..8650ecd624 100644
--- a/test/csv/interface/test_write.rb
+++ b/test/csv/interface/test_write.rb
@@ -166,9 +166,9 @@ b|a|c
def test_options_not_modified
options = {}.freeze
- CSV.generate(options) {}
- CSV.generate_line([], options)
- CSV.filter("", "", options)
- CSV.instance("", options)
+ CSV.generate(**options) {}
+ CSV.generate_line([], **options)
+ CSV.filter("", "", **options)
+ CSV.instance("", **options)
end
end