diff options
author | Peter Zhu <[email protected]> | 2024-01-30 14:16:55 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-02-02 10:39:42 -0500 |
commit | 31378dc0969f4466b2122d730b7298dd7004acdf () | |
tree | 166d01679c0ab17fe454565066b8baec3d4c5af4 | |
parent | 01bfd1a2bf013a9ed92a9722ac5228187e05e6a8 (diff) |
Add memory test for Regexp timeout
[Bug #20228]
-rw-r--r-- | test/ruby/test_regexp.rb | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1807,6 +1807,23 @@ class TestRegexp < Test::Unit::TestCase end; end def per_instance_redos_test(global_timeout, per_instance_timeout, expected_timeout) assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}") global_timeout = #{ EnvUtil.apply_timeout_scale(global_timeout).inspect } |