add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e1c3a0f54
commit
23346c20d7
@ -825,6 +825,10 @@ class TestM17N < Test::Unit::TestCase
|
||||
}
|
||||
end
|
||||
|
||||
def test_end_with
|
||||
assert_false("\x81\x40".force_encoding("sjis").end_with?("@"))
|
||||
end
|
||||
|
||||
def test_regexp_match
|
||||
assert_equal([0,0], //.match("\xa1\xa1".force_encoding("euc-jp"),-1).offset(0))
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user