diff --git a/test/pathological.js b/test/pathological.js index af3f90f1a..f8c69047e 100644 --- a/test/pathological.js +++ b/test/pathological.js @@ -81,6 +81,10 @@ describe('Pathological sequences speed', () => { await test_pattern('*a_ '.repeat(50000)); }); + it('commonmark/cmark#389', async () => { + await test_pattern('*a '.repeat(20000) + '_a*_ '.repeat(20000)); + }); + it('openers and closers multiple of 3', async () => { await test_pattern('a**b' + ('c* '.repeat(50000))); }); diff --git a/test/pathological.json b/test/pathological.json index d44b8edf2..7339947ad 100644 --- a/test/pathological.json +++ b/test/pathological.json @@ -1 +1 @@ -{ "md5": "16f68052e677d03910d777af610e965d" } +{ "md5": "10730e0b6dec7355412bb632e9eb1d98" }