mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove a test for reverted feature r26701.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad64b9669f
commit
3c1f696a50
1 changed files with 0 additions and 8 deletions
|
@ -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/')}
|
||||
|
|
Loading…
Reference in a new issue