diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/enc/test_euc_jp.rb | 2 | ||||
-rw-r--r-- | test/ruby/enc/test_shift_jis.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/enc/test_euc_jp.rb b/test/ruby/enc/test_euc_jp.rb index 1ccc55ccb9..510ee4611e 100644 --- a/test/ruby/enc/test_euc_jp.rb +++ b/test/ruby/enc/test_euc_jp.rb @@ -5,7 +5,7 @@ require "test/unit" class TestEUC_JP < Test::Unit::TestCase def test_mbc_case_fold assert_match(/()(a)\1\2/i, "aA") - assert_no_match(/()(a)\1\2/i, "aA") + assert_match(/()(a)\1\2/i, "aA") end def test_property diff --git a/test/ruby/enc/test_shift_jis.rb b/test/ruby/enc/test_shift_jis.rb index 54ef67dd44..1bd47fa859 100644 --- a/test/ruby/enc/test_shift_jis.rb +++ b/test/ruby/enc/test_shift_jis.rb @@ -5,7 +5,7 @@ require "test/unit" class TestShiftJIS < Test::Unit::TestCase def test_mbc_case_fold assert_match(/()(a)\1\2/i, "aA") - assert_no_match(/()(a)\1\2/i, "a`A") + assert_match(/()(a)\1\2/i, "a`A") end def test_property |