diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-28 15:07:30 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-28 16:02:42 +0100 |
commit | b9222e5cb1d8d1d3217f65c6a91886b897956dde (patch) | |
tree | b08aa67eab72a6c2858a2c3a243680f25e2d7017 /test | |
parent | 4874f2dbd24ef8dbc078a1b81184c91524c93efb (diff) | |
download | pandoc-b9222e5cb1d8d1d3217f65c6a91886b897956dde.tar.gz |
Lua: add constructors `pandoc.Blocks` and `pandoc.Inlines`
The functions convert their argument into a list of Block and Inline
values, respectively.
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/module/pandoc.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lua/module/pandoc.lua b/test/lua/module/pandoc.lua index 1cf777675..892ffee03 100644 --- a/test/lua/module/pandoc.lua +++ b/test/lua/module/pandoc.lua @@ -19,9 +19,15 @@ return { test('pandoc.AttributeList is a function', function () assert.are_equal(type(pandoc.AttributeList), 'function') end), + test('pandoc.Blocks is a function', function () + assert.are_equal(type(pandoc.Blocks), 'function') + end), test('pandoc.Citation is a function', function () assert.are_equal(type(pandoc.Citation), 'function') end), + test('pandoc.Inlines is a function', function () + assert.are_equal(type(pandoc.Inlines), 'function') + end), test('pandoc.SimpleTable is a function', function () assert.are_equal(type(pandoc.SimpleTable), 'function') end), |