git.iko.soy/typeable/pandoc
on master help sign in
Fixed tests for escapes in links.
commite021819ade4ca255ca3b653ea92fa507dee78407 authorJohn MacFarlane <fiddlosopher@gmail.com> dateMon 5 Dec 2011, 21:13 (15 years ago) parentd34f856
1 file changed+4−4
src/Tests/Readers/Markdown.hs+4−4
src/Tests/Readers/Markdown.hs+4−4
@@ -47,16 +47,16 @@ tests = [ testGroup "inline code"
4747 , testGroup "backslash escapes"
4848 [ "in URL" =:
4949 "[hi](/there\\))"
50− =?> para (link "hi" "/there)" "")
50+ =?> para (link "/there)" "" "hi")
5151 , "in title" =:
5252 "[hi](/there \"a\\\"a)"
53− =?> para (link "hi" "/there" "a\"a")
53+ =?> para (link "/there" "a\"a" "hi")
5454 , "in reference link title" =:
5555 "[hi]\n\n[hi]: /there (a\\)a)"
56− =?> para (link "hi" "/there" "a)a")
56+ =?> para (link "/there" "a)a" "hi")
5757 , "in reference link URL" =:
5858 "[hi]\n\n[hi]: /there\\."
59− =?> para (link "hi" "/there." "")
59+ =?> para (link "/there." "" "hi")
6060 ]
6161 , testGroup "smart punctuation"
6262 [ test markdownSmart "quote before ellipses"