summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r--test/ruby/test_regexp.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 45ca220529..17fe9fa45f 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -250,10 +250,6 @@ class TestRegexp < Test::Unit::TestCase
assert_equal(["foo", "bar", "baz"], m.values_at(1, 2, 3))
end
- def test_match_select
- assert_equal(["ab", "a", "b"], /(.)(.)/.match("ab").select {|v| true }, "[ruby-dev:34556]")
- end
-
def test_match_string
m = /(?<x>b..)/.match("foobarbaz")
assert_equal("foobarbaz", m.string)