diff --git a/test/index.js b/test/index.js index 9390cc3..45df6b4 100644 --- a/test/index.js +++ b/test/index.js @@ -1252,15 +1252,21 @@ test('content', (t) => { ) t.equal( - micromark(':abbr[a[b[c[d]e]f]g]h', options({abbr})), - '
a[b[c[d]e]f]gh
', - 'should support balanced brackets in a label, three levels deep' + micromark( + ':abbr[1[2[3[4[5[6[7[8[9[10[11[12[13[14[15[16[17[18[19[20[21[22[23[24[25[26[27[28[29[30[31[32[x]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]', + options({abbr}) + ), + '1[2[3[4[5[6[7[8[9[10[11[12[13[14[15[16[17[18[19[20[21[22[23[24[25[26[27[28[29[30[31[32[x]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
', + 'should support balanced brackets in a label, 32 levels deep' ) t.equal( - micromark(':abbr[a[b[c[d[e]f]g]h]i]j', options({abbr})), - '[a[b[c[d[e]f]g]h]i]j
', - 'should *not* support balanced brackets in a label, four levels deep' + micromark( + ':abbr[1[2[3[4[5[6[7[8[9[10[11[12[13[14[15[16[17[18[19[20[21[22[23[24[25[26[27[28[29[30[31[32[33[x]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]', + options({abbr}) + ), + '[1[2[3[4[5[6[7[8[9[10[11[12[13[14[15[16[17[18[19[20[21[22[23[24[25[26[27[28[29[30[31[32[33[x]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
', + 'should *not* support balanced brackets in a label, 33 levels deep' ) t.equal(