summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-09-29 17:24:31 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-30 08:33:40 -0700
commit5be9052f5fb7283372b3d5497bef499718a34992 (patch)
tree80e5805786ef7ab08f363135861e1aa9c8868f6f /test/command
parent79980eee4a1854921d7fb8b14848894b53cc21a7 (diff)
[API Change] Extract Lua code into new package pandoc-lua-engine
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/lua-pandoc-state.lua11
-rw-r--r--test/command/lua-pandoc-state.md14
2 files changed, 0 insertions, 25 deletions
diff --git a/test/command/lua-pandoc-state.lua b/test/command/lua-pandoc-state.lua
deleted file mode 100644
index 5282a4c29..000000000
--- a/test/command/lua-pandoc-state.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-function report (what, value)
- print(string.format('%16s: %s', what, value))
-end
-report('# input files', #PANDOC_STATE.input_files)
-report('output file', PANDOC_STATE.output_file)
-report('# request header', #PANDOC_STATE.request_headers)
-report('resource path', table.concat(PANDOC_STATE.resource_path, ', '))
-report('source URL', PANDOC_STATE.source_url)
-report('user data dir', PANDOC_STATE.user_data_dir and 'defined' or 'unset')
-report('trace', PANDOC_STATE.trace)
-report('verbosity', PANDOC_STATE.verbosity)
diff --git a/test/command/lua-pandoc-state.md b/test/command/lua-pandoc-state.md
deleted file mode 100644
index e56d75af5..000000000
--- a/test/command/lua-pandoc-state.md
+++ /dev/null
@@ -1,14 +0,0 @@
-```
-% pandoc --lua-filter=command/lua-pandoc-state.lua --data-dir=foo
-Hello
-^D
- # input files: 1
- output file: nil
-# request header: 0
- resource path: .
- source URL: nil
- user data dir: defined
- trace: false
- verbosity: WARNING
-<p>Hello</p>
-```