summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_utf16.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-13 15:57:22 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-13 15:57:22 +0000
commitdc0cd581cc92299a69ab9d0b66652f0c5bc9a537 (patch)
tree331e212fd28599185a550c6efb739284d72dfcf3 /test/ruby/test_utf16.rb
parentd10c71a1c60f8a37ffef2d8bc52443f9ae9a6dae (diff)
downloadruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.tar.gz
ruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.tar.xz
ruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.zip
* test/ruby/test_io_m17n.rb: remove a duplicative method.
* test/ruby/test_utf16.rb: rename a conflicting method name. * test/ruby/test_array.rb: ditto. * test/ruby/test_file_exhaustive.rb: ditto. * test/ruby/test_hash.rb: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_fixnum.rb: ditto. * test/ruby/test_rational.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_utf16.rb')
-rw-r--r--test/ruby/test_utf16.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_utf16.rb b/test/ruby/test_utf16.rb
index 358ae0bf1..74df84af6 100644
--- a/test/ruby/test_utf16.rb
+++ b/test/ruby/test_utf16.rb
@@ -281,7 +281,7 @@ EOT
assert_str_equal("cd".encode("utf-16be"), r[1])
end
- def test_count
+ def test_count2
e = "abc".count("^b")
assert_equal(e, "abc".encode("utf-16be").count("^b".encode("utf-16be")))
assert_equal(e, "abc".encode("utf-16le").count("^b".encode("utf-16le")))