Fix test case for test_match_cache_with_peek_optimization (#9466)

This commit is contained in:
Hiroya Fujinami 2024-01-10 13:40:20 +09:00 committed by GitHub
parent a1949df547
commit 8b65d15ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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