diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-19 17:44:23 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-19 17:44:23 +0000 |
commit | 23346c20d78508878ac3468b69e80cf8b93ba864 (patch) | |
tree | 855560a578b047542e2caa4ead43019a66e514dd /test/ruby/test_m17n.rb | |
parent | 6e1c3a0f54d7c68e6ea80853283e6383401266f9 (diff) | |
download | ruby-23346c20d78508878ac3468b69e80cf8b93ba864.tar.gz |
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_m17n.rb')
-rw-r--r-- | test/ruby/test_m17n.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index 5d8deee2b8..52eb586d01 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -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 |