aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-09 04:09:18 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-09 04:10:05 +0300
commit44093930a8048331389534cc2b6f81400bb93c72 (patch)
tree08a0343c4bcd80c64f6b26889e6b9276a583264d /test
parentc82ee315de3df059946c1623005c504c0cb5aa16 (diff)
downloadpandoc-44093930a8048331389534cc2b6f81400bb93c72.tar.gz
Muse writer: correctly output empty headings
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Writers/Muse.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index 96f506cd5..0526b2854 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -257,6 +257,7 @@ tests = [ testGroup "block elements"
unlines [ "#bar"
, "** Foo"
]
+ , "empty heading" =: header 4 (mempty) =?> "**** <verbatim></verbatim>"
]
, "horizontal rule" =: horizontalRule =?> "----"
, "escape horizontal rule" =: para (text "----") =?> "<verbatim></verbatim>----"