From ca78d93b408c660ee1ab753e165d07acd864b5a7 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 2 Apr 2018 15:55:04 +0300 Subject: Muse writer: place header IDs before header See https://github.com/melmothx/text-amuse/issues/39 --- test/Tests/Readers/Muse.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/Tests/Readers') 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" =: -- cgit v1.2.3