diff options
| author | Albert Krewinkel <[email protected]> | 2022-10-07 21:16:45 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-10-08 16:05:48 -0700 |
| commit | a4218b9719c77978e1968065a3c2c4f25d3c4137 (patch) | |
| tree | 2335115e82577031786f766a122ae400ac3dcc5a /pandoc-lua-engine/test/lua | |
| parent | e663bb0e1479dac2638a3e4f693e5eeac314e347 (diff) | |
[API Change] Add new module "Text.Pandoc.Format"
The module provides functions and types for format spec parsing and
processing.
The function `parseFormatSpec` was moved from Text.Pandoc.Extensions to
the new module and renamed to `parseFlavoredFormat`. It now operates in
a PandocMonad and is based on the updated types.
Diffstat (limited to 'pandoc-lua-engine/test/lua')
| -rw-r--r-- | pandoc-lua-engine/test/lua/module/pandoc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc-lua-engine/test/lua/module/pandoc.lua b/pandoc-lua-engine/test/lua/module/pandoc.lua index 397182438..d61bcf3b0 100644 --- a/pandoc-lua-engine/test/lua/module/pandoc.lua +++ b/pandoc-lua-engine/test/lua/module/pandoc.lua @@ -266,7 +266,7 @@ return { test('unsupported extension', function () assert.error_matches( function () pandoc.read('foo', 'gfm+empty_paragraphs') end, - 'Extension empty_paragraphs not supported for gfm' + 'The extension empty_paragraphs is not supported for gfm' ) end), test('read with other indented code classes', function() @@ -290,7 +290,7 @@ return { test('failing read', function () assert.error_matches( function () pandoc.read('foo', 'nosuchreader') end, - 'Unknown reader: nosuchreader' + 'Unknown input format nosuchreader' ) end) }, |
