summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-27 09:53:58 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-27 09:53:58 +0000
commita983fc502288776cde7b97519c7ddab7aa2ca6b9 (patch)
tree4dd6c73e4d0e9b87a4191944365ac6441892e459 /test/csv
parent52c6acda38561f84d4ec46b46c3c45d054c43080 (diff)
csv.rb: use keyword parameters
* lib/csv.rb: usb keyword parameters to receive options * test/csv/test_features.rb: remove a test for checking options git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv')
-rwxr-xr-xtest/csv/test_features.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index 65ef3da..f8aa0d8 100755
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
@@ -137,12 +137,6 @@ class TestCSV::Features < TestCSV
test_lineno
end
- def test_unknown_options
- assert_raise_with_message(ArgumentError, /unknown/) {
- CSV.new(@sample_data, unknown: :error)
- }
- end
-
def test_skip_blanks
assert_equal(4, @csv.to_a.size)