summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_m17n.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-22 00:42:52 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-22 00:42:52 +0000
commit4db96d5f784a95a549db3b728de7a67eb3135cce (patch)
treec7cff4b635731011982936a63a88618eb280fcc6 /test/ruby/test_m17n.rb
parentfef59aa9922c420c917ff4ace99faf8cf6adfff8 (diff)
downloadruby-4db96d5f784a95a549db3b728de7a67eb3135cce.tar.gz
ruby-4db96d5f784a95a549db3b728de7a67eb3135cce.tar.xz
ruby-4db96d5f784a95a549db3b728de7a67eb3135cce.zip
commit miss. orz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_m17n.rb')
-rw-r--r--test/ruby/test_m17n.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index e162b6479..21189e323 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -805,9 +805,9 @@ class TestM17N < Test::Unit::TestCase
assert_equal(nil, u("\xc2\xa1")[1])
str = "\u3042"
- assert_equal(true, str[0, 0], "[ruby-dev:33895]")
- assert_equal(false, str[0, 1])
- assert_equal(false, str[0...-1])
+ assert_equal(true, str[0, 0].ascii_only?, "[ruby-dev:33895]")
+ assert_equal(false, str[0, 1].ascii_only?)
+ assert_equal(false, str[0..-1].ascii_only?)
end
def test_str_aref_len