summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-09-06 03:58:35 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-09-06 13:51:30 +0430
commit63523d383634f9f08b69d6ca977d51180d1c9944 (patch)
treec0a8aa02fe8d57823cb427494952a8b67a1eaa3c /Tests
parentabbe9da25540b7ba992d7c3446cf53d18000cbce (diff)
downloadserenity-63523d383634f9f08b69d6ca977d51180d1c9944.zip
Tests/LibRegex: Decrease the size of the fork chain test
Diffstat (limited to 'Tests')
-rw-r--r--Tests/LibRegex/Regex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibRegex/Regex.cpp b/Tests/LibRegex/Regex.cpp
index 6cbb417c3d..be2b026fd0 100644
--- a/Tests/LibRegex/Regex.cpp
+++ b/Tests/LibRegex/Regex.cpp
@@ -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);
}