aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-02 15:55:04 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-02 15:58:37 +0300
commitca78d93b408c660ee1ab753e165d07acd864b5a7 (patch)
tree851bc3175a45f629f1d774e6be250eb96b3e1699 /test/Tests/Readers
parentaca4137c4094ec921276bf50278dfc58db5634a3 (diff)
downloadpandoc-ca78d93b408c660ee1ab753e165d07acd864b5a7.tar.gz
Muse writer: place header IDs before header
See https://github.com/melmothx/text-amuse/issues/39
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index ca63a6579..56ad9f249 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -533,8 +533,9 @@ tests =
] =?>
blockQuote (para "* Hi")
, "Headers consume anchors" =:
- T.unlines [ "** Foo"
+ T.unlines [ "; A comment to make sure anchor is not parsed as a directive"
, "#bar"
+ , "** Foo"
] =?>
headerWith ("bar",[],[]) 2 "Foo"
, "Headers don't consume anchors separated with a blankline" =: