- Commit
- 4224dc159cdd0b4429a566a14792c0abc0f5f62a
- Parent
- eba54eb5769075d29f21f11cbb011f6d537d9f8c
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Added another case to pathological tests.
"*a_ " * 20000
See jgm/commonmark#43.
My personal build of CMark ✏️
Added another case to pathological tests.
"*a_ " * 20000
See jgm/commonmark#43.
1 file changed, 3 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/pathological_tests.py | 3 | 3 | 0 |
diff --git 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}")),