aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-12-23 22:39:05 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2017-12-23 23:29:24 +0100
commit59a47454574d9eab424ef3d6d9ef6b238515f479 (patch)
tree68f755bcaba5e013966357e972ff9d11779c8fdd /test/Tests
parent790dc2546b965853dbcaa8db1a36dd05b147ef85 (diff)
downloadpandoc-59a47454574d9eab424ef3d6d9ef6b238515f479.tar.gz
Lua modules: add function pandoc.utils.hierarchicalize
Convert list of Pandoc blocks into (hierarchical) list of Elements.
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 7fb4309de..6f495a3ca 100644
--- a/test/Tests/Lua.hs
+++ b/test/Tests/Lua.hs
@@ -96,7 +96,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 "normalize_date: OK")
+ (doc $ mconcat [ plain (str "hierarchicalize: OK")
+ , plain (str "normalize_date: OK")
, plain (str "pipe: OK")
, plain (str "failing pipe: OK")
, plain (str "read: OK")