We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0cec0 commit 1df04bdCopy full SHA for 1df04bd
test/csv/test_table.rb
@@ -378,7 +378,7 @@ def test_to_csv_encoding
378
CSV::Row.new(%w{A}, ["\x00\xac"]) ]
379
table = CSV::Table.new(rows)
380
381
- assert_equal('UTF-8', table.to_csv(encoding: 'UTF-8').encoding.to_s)
+ assert_equal(Encoding::UTF_8, table.to_csv(encoding: 'UTF-8').encoding)
382
assert_raises(Encoding::CompatibilityError) {table.to_csv}
383
end
384
0 commit comments