diff options
Diffstat (limited to 'test/csv/parse/test_strip.rb')
-rw-r--r-- | test/csv/parse/test_strip.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/csv/parse/test_strip.rb b/test/csv/parse/test_strip.rb index 0255bb9a30..3564fcb3ba 100644 --- a/test/csv/parse/test_strip.rb +++ b/test/csv/parse/test_strip.rb @@ -21,6 +21,11 @@ class TestCSVParseStrip < Test::Unit::TestCase CSV.parse_line(%Q{a ,b }, strip: true)) end + def test_middle + assert_equal(["a b"], + CSV.parse_line(%Q{a b}, strip: true)) + end + def test_quoted assert_equal([" a ", " b "], CSV.parse_line(%Q{" a "," b "}, strip: true)) |