From 343b6051da9b6750e67de2e5279d4cf6b99067dd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Apr 2015 18:59:29 -0700 Subject: Added test case for #2062. --- tests/Tests/Readers/Markdown.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Tests') 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" -- cgit v1.2.3