mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
0530cf9ff8
commit
7a34e08d84
2 changed files with 3 additions and 1 deletions
|
@ -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
|
* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring
|
||||||
sequence" is not an error to be tested.
|
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>
|
Thu Dec 20 19:29:07 2007 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap.rb (initialize): the second argument is an option
|
* 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})"
|
#puts "#{encdump s1}.tr(#{encdump s2}, #{encdump s3})"
|
||||||
t = s1.tr(s2, s3)
|
t = s1.tr(s2, s3)
|
||||||
rescue ArgumentError
|
rescue ArgumentError
|
||||||
e = $!
|
e = $! unless /mbstring sequence/ =~ $!.message
|
||||||
end
|
end
|
||||||
if e
|
if e
|
||||||
encs = []
|
encs = []
|
||||||
|
|
Loading…
Reference in a new issue