summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-25 12:47:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-25 12:47:30 +0000
commitd7dbdef4e503f3ad8f9b00b91cf1b28884051402 (patch)
tree825845672e7b770bd59e7043e5dd453526f35a91 /test/csv
parent2c1c462747346b05b00a0a18f28cf098526b0c1f (diff)
* transcode.c (rb_eUndefinedConversionError): renamed from
rb_eConversionUndefinedError. (rb_eConverterNotFoundError): renamed from rb_eNoConverterError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/tc_encodings.rb4
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