TestRegexp#test_match_cache_positive_look_behind: Extend the timeout limit

This commit is contained in:
Yusuke Endoh 2024-06-07 23:29:59 +09:00
parent 36b3fea0ff
commit 239378613b

View File

@ -1929,7 +1929,7 @@ class TestRegexp < Test::Unit::TestCase
end
def test_match_cache_positive_look_ahead
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}")
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}", timeout: 30)
timeout = #{ EnvUtil.apply_timeout_scale(10).inspect }
begin;
Regexp.timeout = timeout