git.iko.soy/typeable/pandoc
on master help sign in
Added test for #882.
commita2b98ba2185249037405ff29fbdb19725cb87b3a authorJohn MacFarlane <fiddlosopher@gmail.com> dateWed 19 Jun 2013, 09:27 (13 years ago) parente3b8b89
1 file changed+5
tests/Tests/Readers/Markdown.hs+5
tests/Tests/Readers/Markdown.hs+5
@@ -155,6 +155,11 @@ tests = [ testGroup "inline code"
155155 ]
156156 , testGroup "bare URIs"
157157 (map testBareLink bareLinkTests)
158+ , testGroup "Headers"
159+ [ "blank line before header" =:
160+ "\n# Header\n"
161+ =?> headerWith ("header",[],[]) 1 "Header"
162+ ]
158163 , testGroup "smart punctuation"
159164 [ test markdownSmart "quote before ellipses"
160165 ("'...hi'"