Skip to content

Commit

Permalink
Rename stripComments to texComments in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Apr 25, 2021
1 parent 92f217b commit 2dd76f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/testfiles/lunamark-markdown/no-tex-comments.test
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tests/testfiles/lunamark-markdown/tex-comments.test
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2dd76f1

Please sign in to comment.