|
27 | 27 | tstRightMD = nti(tRightDelimScWithMarkup, "%}}") |
28 | 28 | tstSCClose = nti(tScClose, "/") |
29 | 29 | tstSC1 = nti(tScName, "sc1") |
30 | | - tstSCAnother = nti(tScName, "another") |
31 | 30 | tstSC1Inline = nti(tScNameInline, "sc1.inline") |
32 | 31 | tstSC2Inline = nti(tScNameInline, "sc2.inline") |
33 | 32 | tstSC2 = nti(tScName, "sc2") |
@@ -75,10 +74,6 @@ var shortCodeLexerTests = []lexerTest{ |
75 | 74 | tstLeftNoMD, tstSC1, tstRightNoMD, tstLeftNoMD, tstSCClose, |
76 | 75 | nti(tError, "closing tag for shortcode 'another' does not match start tag"), |
77 | 76 | }, nil}, |
78 | | - {"close wrong, repeated", `{{< sc1 >}}{{< another >}}{{< /another >}}{{< /another >}}`, []typeText{ |
79 | | - tstLeftNoMD, tstSC1, tstRightNoMD, tstLeftNoMD, tstSCAnother, tstRightNoMD, tstLeftNoMD, tstSCClose, tstSCAnother, tstRightNoMD, tstLeftNoMD, tstSCClose, |
80 | | - nti(tError, "closing tag for shortcode 'another' does not match start tag"), |
81 | | - }, nil}, |
82 | 77 | {"close, but no open, more", `{{< sc1 >}}{{< /sc1 >}}{{< /another >}}`, []typeText{ |
83 | 78 | tstLeftNoMD, tstSC1, tstRightNoMD, tstLeftNoMD, tstSCClose, tstSC1, tstRightNoMD, tstLeftNoMD, tstSCClose, |
84 | 79 | nti(tError, "closing tag for shortcode 'another' does not match start tag"), |
|
0 commit comments