mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add a test: "y".count("a\\-z") should be 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1448668244
commit
4f6c04dc52
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ class TestString < Test::Unit::TestCase
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue