mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-08 03:27:04 +09:00
tweaked a test
This commit is contained in:
parent
4690b79881
commit
fa6ed19234
1 changed files with 6 additions and 2 deletions
|
@ -1261,9 +1261,13 @@ namespace System.Text.RegularExpressions.Tests
|
|||
// each lookaround at every iteration of the loop and without any backtracking. We still
|
||||
// want timeouts here at least every O(N) work.
|
||||
|
||||
// TODO: Satori. These are fast enough on Satori to not timeout.
|
||||
|
||||
// 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 };
|
||||
//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...
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue