From 16e49d02d55db4449edd88a3ec6775523928deec Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 25 Sep 2008 12:47:30 +0000 Subject: * transcode.c (rb_eUndefinedConversionError): renamed from rb_eConversionUndefinedError. (rb_eConverterNotFoundError): renamed from rb_eNoConverterError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/csv/tc_encodings.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/csv') 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 -- cgit