Tests/LibRegex: Decrease the size of the fork chain test

This commit is contained in:
Ali Mohammad Pur 2021-09-06 03:58:35 +04:30 committed by Ali Mohammad Pur
parent abbe9da255
commit 63523d3836
Notes: sideshowbarker 2024-07-18 04:37:54 +09:00

View File

@ -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);
}