summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test
new file mode 100644
index 0000000000..f9968e9168
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test
@@ -0,0 +1,12 @@
+\def\markdownOptionCacheDir{some-other-directory}
+<<<
+This test ensures that the Lua `cacheDir` option correctly propagates through
+the plain TeX interface and causes a change in the cache directory location.
+The following code should be stored in a temporary file inside the specified
+cache directory.
+
+ foo bar
+>>>
+codeSpan: cacheDir
+interblockSeparator
+inputVerbatim: some-other-directory/5ceaa7ed396ccb8e959c02753cb4bd18.verbatim