diff options
Diffstat (limited to 'test/csv')
-rwxr-xr-x | test/csv/test_headers.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/csv/test_headers.rb b/test/csv/test_headers.rb index 94d5e9f03e..79ccd20c74 100755 --- a/test/csv/test_headers.rb +++ b/test/csv/test_headers.rb @@ -217,9 +217,10 @@ class TestCSV::Headers < TestCSV end def test_builtin_symbol_converter - csv = CSV.parse( "One,TWO Three", headers: true, - return_headers: true, - header_converters: :symbol ) + # Note that the trailing space is intentional + csv = CSV.parse( "One,TWO Three ", headers: true, + return_headers: true, + header_converters: :symbol ) assert_equal([:one, :two_three], csv.headers) end |