From cad6775318febf3c860c925a41faf0ed1938e9ea Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 8 Aug 2024 22:58:13 -0400 Subject: [PATCH] Remove two outdated test inputs from regex match timeout tests --- .../tests/FunctionalTests/Regex.Match.Tests.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs index 1f0e2932c6425..1bbc7cf607c68 100644 --- a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs +++ b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs @@ -1264,8 +1264,6 @@ public static IEnumerable Match_Timeout_Throws_MemberData() // Lookarounds yield return new object[] { engine, @"((?=(?>a*))a)+", a1_000_000 }; yield return new object[] { engine, @"((?<=(?>a*))a)+", a1_000_000 }; - yield return new object[] { engine, @"((?!(?>[^a]*))a)+", a1_000_000 }; - yield return new object[] { engine, @"((?[^a]*))a)+", a1_000_000 }; // All of the below tests have catastrophic backtracking...