From 59a47454574d9eab424ef3d6d9ef6b238515f479 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 23 Dec 2017 22:39:05 +0100 Subject: Lua modules: add function pandoc.utils.hierarchicalize Convert list of Pandoc blocks into (hierarchical) list of Elements. --- test/Tests/Lua.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/Tests') 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") -- cgit v1.2.3