diff --git a/test/test.js b/test/test.js index 253a5845..00d8273c 100755 --- a/test/test.js +++ b/test/test.js @@ -197,6 +197,12 @@ for (x=1000; x <= 10000; x *= 10) { input: "a**b" + repeat("c* ", x), expected: '

a**b' + repeat('c* ', x - 1) + 'c*

\n' }); } +for (x=1000; x <= 10000; x *= 10) { + cases.push( + { name: x + ' #172', + input: repeat('*_* _ ', x), + expected: '

' + repeat('_ _ ', x - 1) + '_ _

\n' }); +} for (x = 1000; x <= 10000; x *= 10) { cases.push( { name: x + ' link closers with no openers',