mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
Tests/LibRegex: Decrease the size of the fork chain test
This commit is contained in:
parent
abbe9da255
commit
63523d3836
Notes:
sideshowbarker
2024-07-18 04:37:54 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/63523d38363 Pull-request: https://github.com/SerenityOS/serenity/pull/9847 Reviewed-by: https://github.com/linusg ✅
|
@ -848,7 +848,7 @@ TEST_CASE(case_insensitive_match)
|
|||
TEST_CASE(extremely_long_fork_chain)
|
||||
{
|
||||
Regex<ECMA262> re("(?:aa)*");
|
||||
auto result = re.match(String::repeated('a', 100'000));
|
||||
auto result = re.match(String::repeated('a', 1000));
|
||||
EXPECT_EQ(result.success, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue