From 2dd76f118821bfda0071762bad971f965b17b765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= Date: Sun, 25 Apr 2021 19:34:59 +0200 Subject: [PATCH] Rename stripComments to texComments in unit tests --- tests/testfiles/lunamark-markdown/no-tex-comments.test | 4 ++-- tests/testfiles/lunamark-markdown/tex-comments.test | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/testfiles/lunamark-markdown/no-tex-comments.test b/tests/testfiles/lunamark-markdown/no-tex-comments.test index f24b05507..8df032508 100644 --- a/tests/testfiles/lunamark-markdown/no-tex-comments.test +++ b/tests/testfiles/lunamark-markdown/no-tex-comments.test @@ -1,5 +1,5 @@ <<< -This test ensures that the Lua `stripComments` option is disabled by default. +This test ensures that the Lua `texComments` option is disabled by default. The following *emphasi% this is a comment zed text* should be interrupted and this *emphasi\% another one @@ -8,7 +8,7 @@ zed text* should also be interrupted. A single backslash at the *end of \ a line* should be allowed by the preprocessor. >>> -codeSpan: stripComments +codeSpan: texComments interblockSeparator emphasis: emphasi(percentSign) this is a comment zed text emphasis: emphasi(backslash)(percentSign) another one zed text diff --git a/tests/testfiles/lunamark-markdown/tex-comments.test b/tests/testfiles/lunamark-markdown/tex-comments.test index 5f43a1711..6a420baf1 100644 --- a/tests/testfiles/lunamark-markdown/tex-comments.test +++ b/tests/testfiles/lunamark-markdown/tex-comments.test @@ -1,6 +1,6 @@ -\def\markdownOptionStripComments{true} +\def\markdownOptionTeXComments{true} <<< -This test ensures that the Lua `stripComments` option correctly propagates +This test ensures that the Lua `texComments` option correctly propagates through the plain TeX interface. The following *emphasi% this is a comment @@ -14,7 +14,7 @@ The following *emphasi% this is a comment A single backslash at the *end of \ a line* should be allowed by the preprocessor. >>> -codeSpan: stripComments +codeSpan: texComments interblockSeparator emphasis: emphasized text emphasis: emphasi(percentSign) another one zed text