git.iko.soy/typeable/pandoc
on master help sign in
Fixed tests for escapes in markdown titles, URLs.
7512c9dJohn MacFarlane
src/Tests/Readers/Markdown.hs+3−3
@@ -49,14 +49,14 @@ tests = [ testGroup "inline code"
49 "[hi](/there\\))"
49 "[hi](/there\\))"
50 =?> para (link "/there)" "" "hi")
50 =?> para (link "/there)" "" "hi")
51 , "in title" =:
51 , "in title" =:
52− "[hi](/there \"a\\\"a)"
52+ "[hi](/there \"a\\\"a\")"
53 =?> para (link "/there" "a\"a" "hi")
53 =?> para (link "/there" "a\"a" "hi")
54 , "in reference link title" =:
54 , "in reference link title" =:
55 "[hi]\n\n[hi]: /there (a\\)a)"
55 "[hi]\n\n[hi]: /there (a\\)a)"
56 =?> para (link "/there" "a)a" "hi")
56 =?> para (link "/there" "a)a" "hi")
57 , "in reference link URL" =:
57 , "in reference link URL" =:
58− "[hi]\n\n[hi]: /there\\."
58+ "[hi]\n\n[hi]: /there\\.0"
59− =?> para (link "/there." "" "hi")
59+ =?> para (link "/there.0" "" "hi")
60 ]
60 ]
61 , testGroup "smart punctuation"
61 , testGroup "smart punctuation"
62 [ test markdownSmart "quote before ellipses"
62 [ test markdownSmart "quote before ellipses"