aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-18 18:59:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-18 19:00:18 -0700
commit343b6051da9b6750e67de2e5279d4cf6b99067dd (patch)
treef3def1236bf6cc29c74e5a6b240a7f794e5d755c /tests
parentd20152e01135a27decfd08dbda097fd1fda75354 (diff)
downloadpandoc-343b6051da9b6750e67de2e5279d4cf6b99067dd.tar.gz
Added test case for #2062.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Markdown.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index aaeefcfa4..4ae144556 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -200,6 +200,9 @@ tests = [ testGroup "inline code"
[ "blank line before header" =:
"\n# Header\n"
=?> headerWith ("header",[],[]) 1 "Header"
+ , "bracketed text (#2062)" =:
+ "# [hi]\n"
+ =?> headerWith ("hi",[],[]) 1 "[hi]"
]
, testGroup "smart punctuation"
[ test markdownSmart "quote before ellipses"