summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_m17n.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index 1923d9294..e262e1812 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -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 = []