ruby-changes:3334
From: ko1@a...
Date: 1 Jan 2008 16:04:44 +0900
Subject: [ruby-changes:3334] akr - Ruby:r14827 (trunk): add a test: "y".count("a\\-z") should be 0.
akr 2008-01-01 16:04:28 +0900 (Tue, 01 Jan 2008) New Revision: 14827 Modified files: trunk/test/ruby/test_string.rb Log: add a test: "y".count("a\\-z") should be 0. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_string.rb?r1=14827&r2=14826&diff_format=u Index: test/ruby/test_string.rb =================================================================== --- test/ruby/test_string.rb (revision 14826) +++ test/ruby/test_string.rb (revision 14827) @@ -384,6 +384,7 @@ assert_equal(2, a.count(S("lo"), S("o"))) assert_equal(4, a.count(S("hello"), S("^l"))) assert_equal(4, a.count(S("ej-m"))) + assert_equal(0, S("y").count(S("a\\-z"))) end def test_crypt -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml