aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert+github@zeitkraut.de>2018-07-30 19:55:25 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-30 10:55:25 -0700
commitfb94c0f6a1b98d4f7ff34107d3b63c2c1d0afe1f (patch)
treeeb0a736a0ced7d45e9ead922db35fb564f3e431e /test/Tests
parentbf56181204a6e5df919da24006ef8a58b595f76a (diff)
downloadpandoc-fb94c0f6a1b98d4f7ff34107d3b63c2c1d0afe1f.tar.gz
Lua Utils module: add function blocks_to_inlines (#4799)
Exposes a function converting which flattenes a list of blocks into a list of inlines. An example use case would be the conversion of Note elements into other inlines.
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Lua.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Tests/Lua.hs b/test/Tests/Lua.hs
index 9d2d3b635..f00142f1d 100644
--- a/test/Tests/Lua.hs
+++ b/test/Tests/Lua.hs
@@ -109,7 +109,8 @@ tests = map (localOption (QuickCheckTests 20))
assertFilterConversion "pandoc.utils doesn't work as expected."
"test-pandoc-utils.lua"
(doc $ para "doesn't matter")
- (doc $ mconcat [ plain (str "hierarchicalize: OK")
+ (doc $ mconcat [ plain (str "blocks_to_inlines: OK")
+ , plain (str "hierarchicalize: OK")
, plain (str "normalize_date: OK")
, plain (str "pipe: OK")
, plain (str "failing pipe: OK")