diff options
Diffstat (limited to 'test/csv/parse/test_general.rb')
-rw-r--r-- | test/csv/parse/test_general.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csv/parse/test_general.rb b/test/csv/parse/test_general.rb index 2f235f16f6..49222c7159 100644 --- a/test/csv/parse/test_general.rb +++ b/test/csv/parse/test_general.rb @@ -142,7 +142,7 @@ class TestCSVParseGeneral < Test::Unit::TestCase error = assert_raise(CSV::MalformedCSVError) do CSV.parse_line("1,2\r,3", row_sep: "\n") end - assert_equal("Unquoted fields do not allow \\r or \\n in line 1.", + assert_equal("Unquoted fields do not allow new line <\"\\r\"> in line 1.", error.message) end @@ -158,7 +158,7 @@ line,5,jkl error = assert_raise(CSV::MalformedCSVError) do CSV.parse(csv) end - assert_equal("Unquoted fields do not allow \\r or \\n in line 4.", + assert_equal("Unquoted fields do not allow new line <\"\\r\"> in line 4.", error.message) end |