зеркало из https://github.com/github/ruby.git
* test/ruby/test_m17n.rb (TestM17N::test_tr): "invalid mbstring
sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0530cf9ff8
Коммит
7a34e08d84
|
@ -73,6 +73,8 @@ Fri Dec 21 00:26:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||
* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring
|
||||
sequence" is not an error to be tested.
|
||||
|
||||
* test/ruby/test_m17n.rb (TestM17N::test_tr): ditto.
|
||||
|
||||
Thu Dec 20 19:29:07 2007 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb (initialize): the second argument is an option
|
||||
|
|
|
@ -1623,7 +1623,7 @@ class TestM17N < Test::Unit::TestCase
|
|||
#puts "#{encdump s1}.tr(#{encdump s2}, #{encdump s3})"
|
||||
t = s1.tr(s2, s3)
|
||||
rescue ArgumentError
|
||||
e = $!
|
||||
e = $! unless /mbstring sequence/ =~ $!.message
|
||||
end
|
||||
if e
|
||||
encs = []
|
||||
|
|
Загрузка…
Ссылка в новой задаче