aboutsummaryrefslogtreecommitdiff
path: root/test/lua/smallcaps-title.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-09-29 17:24:31 +0200
committerJohn MacFarlane <[email protected]>2022-09-30 08:33:40 -0700
commit5be9052f5fb7283372b3d5497bef499718a34992 (patch)
tree80e5805786ef7ab08f363135861e1aa9c8868f6f /test/lua/smallcaps-title.lua
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/lua/smallcaps-title.lua')
-rw-r--r--test/lua/smallcaps-title.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/lua/smallcaps-title.lua b/test/lua/smallcaps-title.lua
deleted file mode 100644
index b839ee131..000000000
--- a/test/lua/smallcaps-title.lua
+++ /dev/null
@@ -1,12 +0,0 @@
-return {
- {
- Meta = function(meta)
- -- The call to `MetaInlines` is redundant and used for testing purposes
- -- only. The explicit use of a MetaValue constructor is only useful when
- -- used with an empty table: `MetaInlines{}` is read differently than
- -- `MetaBlocks{}`.
- meta.title = pandoc.MetaInlines{pandoc.SmallCaps(meta.title)}
- return meta
- end
- }
-}