diff options
Diffstat (limited to 'test/ruby/test_string.rb')
| -rw-r--r-- | test/ruby/test_string.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index a86e26c774..0276d6a14d 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -2469,7 +2469,6 @@ CODE def test_match_method assert_equal("bar", "foobarbaz".match(/bar/).to_s) - assert_raise(TypeError) { "".match(nil) } o = Regexp.new('foo') def o.match(x, y, z); x + y + z; end @@ -2525,10 +2524,6 @@ CODE assert_equal('backref', $&) end - def test_match_p_nil - assert_raise(TypeError) { ''.match?(nil) } - end - def test_clear s = "foo" * 100 s.clear |
