diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_string.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 5cdacf3483..524ab47051 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -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 |