summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/enc/test_euc_jp.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/enc/test_euc_jp.rb b/test/ruby/enc/test_euc_jp.rb
index 82abe2116d..1ccc55ccb9 100644
--- a/test/ruby/enc/test_euc_jp.rb
+++ b/test/ruby/enc/test_euc_jp.rb
@@ -17,4 +17,8 @@ class TestEUC_JP < Test::Unit::TestCase
assert_no_match(/¤¢{0}\p{Katakana}{4}/, "´Á»ú´Á»ú")
assert_raise(RegexpError) { Regexp.new('¤¢{0}\p{foobarbaz}') }
end
+
+ def test_charboundary
+ assert_nil(/\xA2\xA2/ =~ "\xA1\xA2\xA2\xA3")
+ end
end