summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-19 05:11:37 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-19 05:11:37 +0000
commit3c1f696a507fb8f7deb87b7111d44458efb8c051 (patch)
tree848b51129847cb90fe59947ee42ba3b3ebe47553 /test
parentad64b9669fc7b59c78c1435f4b9862531b7a87db (diff)
Remove a test for reverted feature r26701.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_regexp.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 346979d194..fabeab1fec 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -830,14 +830,6 @@ class TestRegexp < Test::Unit::TestCase
assert_nothing_raised { eval("a = 1; /\#{ a }/o; a") }
end
- def test_optimize_last_anycharstar
- s = "1" + " " * 5000000
- assert_nothing_raised { s.match(/(\d) (.*)/) }
- assert_equal("1", $1)
- assert_equal(" " * 4999999, $2)
- assert_match(/(?:A.+){2}/, 'AbAb')
- end
-
def test_invalid_fragment
bug2547 = '[ruby-core:27374]'
assert_raise(SyntaxError, bug2547) {eval('/#{"\\\\"}y/')}