mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
Fix test case for test_match_cache_with_peek_optimization
(#9466)
This commit is contained in:
parent
a1949df547
commit
8b65d15ff0
1 changed files with 1 additions and 1 deletions
|
@ -1950,7 +1950,7 @@ class TestRegexp < Test::Unit::TestCase
|
|||
timeout = #{ EnvUtil.apply_timeout_scale(10).inspect }
|
||||
begin;
|
||||
Regexp.timeout = timeout
|
||||
assert_nil(/a*z/ =~ "a" * 1000000 + "x")
|
||||
assert_nil(/a+z/ =~ "a" * 1000000 + "xz")
|
||||
end;
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue