git.iko.soy/typeable/pandoc
on master help sign in
Added more failing tests relating to issue #312.
commitb2c58c11b20abc350c560bb4e7645194c6cb2801 authorJohn MacFarlane <fiddlosopher@gmail.com> dateMon 5 Dec 2011, 19:07 (15 years ago) parent8306f6e
1 file changed+7−1
src/Tests/Readers/Markdown.hs+7−1
src/Tests/Readers/Markdown.hs+7−1
@@ -50,7 +50,13 @@ tests = [ testGroup "inline code"
5050 =?> para (link "hi" "/there)" "")
5151 , "in title" =:
5252 "[hi](/there \"a\\\"a)"
53− =?> para (link "hi" "/there" "a\"a")
53+ =?> para (link "hi" "/there" "a\"a")
54+ , "in reference link title" =:
55+ "[hi]\n\n[hi]: /there (a\\)a)"
56+ =?> para (link "hi" "/there" "a)a")
57+ , "in reference link URL" =:
58+ "[hi]\n\n[hi]: /there\\."
59+ =?> para (link "hi" "/there." "")
5460 ]
5561 , testGroup "smart punctuation"
5662 [ test markdownSmart "quote before ellipses"