From 4224dc159cdd0b4429a566a14792c0abc0f5f62a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 11 Jun 2015 10:10:33 -0700 Subject: Added another case to pathological tests. "*a_ " * 20000 See jgm/commonmark#43. --- test/pathological_tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/pathological_tests.py') diff --git a/test/pathological_tests.py b/test/pathological_tests.py index 3b3374b..abc67ce 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -40,6 +40,9 @@ pathological = { "mismatched openers and closers": (("*a_ " * 50000), re.compile("([*]a[_] ){49999}[*]a_")), + "link openers and emph closers": + (("[ a_" * 50000), + re.compile("(\[ a_){50000}")), "nested brackets": (("[" * 50000) + "a" + ("]" * 50000), re.compile("\[{50000}a\]{50000}")), -- cgit v1.2.3