diff options
Diffstat (limited to 'test/csv/tc_encodings.rb')
-rw-r--r-- | test/csv/tc_encodings.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csv/tc_encodings.rb b/test/csv/tc_encodings.rb index c773ec9cb8..677ada3a14 100644 --- a/test/csv/tc_encodings.rb +++ b/test/csv/tc_encodings.rb @@ -57,7 +57,7 @@ class TestEncodings < Test::Unit::TestCase begin assert_parses( [ %w[ abc def ], %w[ ghi jkl ] ], encoding ) - rescue Encoding::NoConverterError + rescue Encoding::ConverterNotFoundError fail("Failed to support #{encoding.name}.") end end @@ -68,7 +68,7 @@ class TestEncodings < Test::Unit::TestCase begin assert_parses( [ %w[ abc def ], %w[ ghi jkl ] ], encoding, :col_sep => "|" ) - rescue Encoding::NoConverterError + rescue Encoding::ConverterNotFoundError fail("Failed to properly escape #{encoding.name}.") end end |