aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:27:11 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:27:11 -0700
commita2b98ba2185249037405ff29fbdb19725cb87b3a (patch)
tree36f9f90b07dd54c6f4a95e81e9d3dec912c6d241 /tests
parente3b8b89d31b848fa9f2539506b3260e5237fd8f2 (diff)
downloadpandoc-a2b98ba2185249037405ff29fbdb19725cb87b3a.tar.gz
Added test for #882.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Markdown.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index 33f5be670..8a9ed9667 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -155,6 +155,11 @@ tests = [ testGroup "inline code"
]
, testGroup "bare URIs"
(map testBareLink bareLinkTests)
+ , testGroup "Headers"
+ [ "blank line before header" =:
+ "\n# Header\n"
+ =?> headerWith ("header",[],[]) 1 "Header"
+ ]
, testGroup "smart punctuation"
[ test markdownSmart "quote before ellipses"
("'...hi'"