diff options
Diffstat (limited to 'test/csv')
-rwxr-xr-x | test/csv/test_encodings.rb | 2 | ||||
-rwxr-xr-x | test/csv/test_features.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb index 5ff6d33821..85ed21a9d6 100755 --- a/test/csv/test_encodings.rb +++ b/test/csv/test_encodings.rb @@ -329,7 +329,7 @@ class TestCSV::Encodings < TestCSV yield encoding end end - + def no_warnings old_verbose, $VERBOSE = $VERBOSE, nil yield diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb index ded876abbe..698d92144d 100755 --- a/test/csv/test_features.rb +++ b/test/csv/test_features.rb @@ -274,13 +274,13 @@ class TestCSV::Features < TestCSV assert(CSV::VERSION.frozen?) assert_match(/\A\d\.\d\.\d\Z/, CSV::VERSION) end - + def test_accepts_comment_skip_lines_option assert_nothing_raised(ArgumentError) do CSV.new nil, :skip_lines => /\A\s*#/ end end - + def test_accepts_comment_defaults_to_nil c = CSV.new nil assert_equal c.skip_lines, nil |