From dc0cd581cc92299a69ab9d0b66652f0c5bc9a537 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 13 May 2008 15:57:22 +0000 Subject: * 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 --- test/ruby/test_utf16.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_utf16.rb') 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"))) -- cgit