1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2008-09-25 12:47:30 +00:00
parent 2c1c462747
commit d7dbdef4e5
6 changed files with 115 additions and 109 deletions

View file

@ -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