diff options
Diffstat (limited to 'test/csv')
-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 c773ec9cb..677ada3a1 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 |