Project

General

Profile

Bug #3247

test/ruby/test_m17n.rb failure

Added by usa (Usaku NAKAMURA) over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-05-05 trunk 27618) platform independent
Backport:
[ruby-dev:41153]

Description

=begin
test_string_inspectですが、default_externalがEUC-JPあるいはWindows-31Jの時に失敗します。
あんまり自信はないんですが、たぶん実装は現状の仕様通りでテストが間違っているのではないかと思うのですが、実際はどうなんでしょうか。

※失敗の例
default_externalがEUC-JPの場合

1) Failure:
test_string_inspect(TestM17N) [test/ruby/test_m17n.rb:204]:
<"\"\xA1\x{8FA1A1}\""> expected but was
<"\"\xA1??\"">.

default_externalがWindows-31Jの場合

1) Failure:
test_string_inspect(TestM17N) [test/ruby/test_m17n.rb:207]:
<"\"\x{8140}\""> expected but was
<"\" \"">.
=end

History

#1

Updated by naruse (Yui NARUSE) over 9 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r27619.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF