aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/test/Tests/Lua/Module.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2023-03-20 13:58:09 +0100
committerAlbert Krewinkel <[email protected]>2023-03-20 16:06:18 +0100
commited5197f5258fa52de7676980799ddc47fa4f2278 (patch)
tree1974f49d075f343527c934089d9fabe940da63d5 /pandoc-lua-engine/test/Tests/Lua/Module.hs
parent5af2d70b0da46e74672a9089c51b9ad5d883d6ef (diff)
Lua: load text module as `pandoc.text`.
This only affects the name in the Lua-internal documentation. It is still possible to load the modules via `require 'text'`, although this is deprecated.
Diffstat (limited to 'pandoc-lua-engine/test/Tests/Lua/Module.hs')
-rw-r--r--pandoc-lua-engine/test/Tests/Lua/Module.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc-lua-engine/test/Tests/Lua/Module.hs b/pandoc-lua-engine/test/Tests/Lua/Module.hs
index 08a4343d7..e3556f2cd 100644
--- a/pandoc-lua-engine/test/Tests/Lua/Module.hs
+++ b/pandoc-lua-engine/test/Tests/Lua/Module.hs
@@ -35,6 +35,8 @@ tests =
("lua" </> "module" </> "pandoc-structure.lua")
, testPandocLua "pandoc.template"
("lua" </> "module" </> "pandoc-template.lua")
+ , testPandocLua "pandoc.text"
+ ("lua" </> "module" </> "pandoc-text.lua")
, testPandocLua "pandoc.types"
("lua" </> "module" </> "pandoc-types.lua")
, testPandocLua "pandoc.utils"