diff options
| author | Albert Krewinkel <[email protected]> | 2022-09-29 17:24:31 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-09-30 08:33:40 -0700 |
| commit | 5be9052f5fb7283372b3d5497bef499718a34992 (patch) | |
| tree | 80e5805786ef7ab08f363135861e1aa9c8868f6f /test/lua/smart-constructors.lua | |
| parent | 79980eee4a1854921d7fb8b14848894b53cc21a7 (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/smart-constructors.lua')
| -rw-r--r-- | test/lua/smart-constructors.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/lua/smart-constructors.lua b/test/lua/smart-constructors.lua deleted file mode 100644 index 6e579a12f..000000000 --- a/test/lua/smart-constructors.lua +++ /dev/null @@ -1,10 +0,0 @@ --- Test that constructors are "smart" in that they autoconvert --- types where sensible. -function Para (_) - return { - pandoc.BulletList{pandoc.Para "Hello", pandoc.Para "World"}, - pandoc.DefinitionList{{"foo", pandoc.Para "placeholder"}}, - pandoc.LineBlock{"Moin", "Welt"}, - pandoc.OrderedList{pandoc.Plain{pandoc.Str "one"}, pandoc.Plain "two"} - } -end |
