Skip to content

Commit

Permalink
Add pathological test for cmark#178.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Aug 30, 2019
1 parent 907f6e7 commit 903f35e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ for (x = 1000; x <= 10000; x *= 10) {
input: repeat('_a ', x),
expected: '<p>' + repeat('_a ', x - 1) + '_a</p>\n' });
}
for (x=1000; x <= 10000; x *= 10) {
cases.push(
{ name: x + ' openers and closers multiple of 3',
input: "a**b" + repeat("c* ", 50000),
expected: '<p>a**b' + repeat('c* ', x) + '<p>' });
}
for (x = 1000; x <= 10000; x *= 10) {
cases.push(
{ name: x + ' link closers with no openers',
Expand Down

0 comments on commit 903f35e

Please sign in to comment.