From a983fc502288776cde7b97519c7ddab7aa2ca6b9 Mon Sep 17 00:00:00 2001 From: glass Date: Thu, 27 Jul 2017 09:53:58 +0000 Subject: 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 --- test/csv/test_features.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test') diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb index 65ef3da105..f8aa0d87c5 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) -- cgit v1.2.3