summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-06-07 23:29:59 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-06-07 23:29:59 +0900
commit239378613b710f96bd078301bb4061078e088524 (patch)
treeb2969336422c80c8af432200e5bda748535c9246 /test/ruby
parent36b3fea0ff02645af071097e11801e6d2293bc95 (diff)
TestRegexp#test_match_cache_positive_look_behind: Extend the timeout limit
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_regexp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 812ecce905..828117f516 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -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