diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_m17n_comb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb index cf80377172..3ecd169c4c 100644 --- a/test/ruby/test_m17n_comb.rb +++ b/test/ruby/test_m17n_comb.rb @@ -1095,7 +1095,7 @@ class TestM17NComb < Test::Unit::TestCase if s1.valid_encoding? assert_raise(Encoding::CompatibilityError) { s1.scan(s2) } else - assert_raise(ArgumentError, /invalid byte sequence/) { s1.scan(s2) } + assert_match(/invalid byte sequence/, assert_raise(ArgumentError) { s1.scan(s2) }.message) end next end |