Project

General

Profile

Actions

Bug #927

closed

[m17n] TestCSVFeatures fails because of r20905

Added by yugui (Yuki Sonoda) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
Backport:
[ruby-dev:37591]

Description

=begin
Yuguiです。

r20905で、csvのテストが失敗するようになりました。pathのエンコーディング
がUTF8-MACに変わったため、CSV#inspect内でString#encodeに失敗しているよう
です。
これはどう扱ったらよいものでしょうか。

% make test-all TESTS=csv
./miniruby -I../../lib -I.ext/common -I./- -r../../ext/purelib.rb
../../runruby.rb --extout=.ext -- "../../test/runner.rb" csv
nil
Loaded suite ../../test/runner
Started
..........E...........................................................................................................................
Finished in 0.768623 seconds.

  1. Error:
    test_inspect_is_smart_about_io_types(TestCSVFeatures):
    Encoding::ConverterNotFoundError: code converter not found (UTF8-MAC to
    ASCII-8BIT)
    /Users/yugui/src/ruby/mri/test/csv/test_features.rb:233:in block in test_inspect_is_smart_about_io_types' /Users/yugui/src/ruby/mri/test/csv/test_features.rb:233:in test_inspect_is_smart_about_io_types'

134 tests, 1886 assertions, 0 failures, 1 errors, 0 skips
make: *** [test-all] Error 1

--
Yugui
http://yugui.jp
私は私をDumpする
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0