From 1f8c4ff2c888cc54387650adb5d576383061ba8e Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 19 Jan 2008 17:44:23 +0000 Subject: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_m17n.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/ruby') diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index 5d8deee2b..52eb586d0 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 -- cgit