diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-05 21:13:06 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-05 21:13:06 -0800 |
commit | e021819ade4ca255ca3b653ea92fa507dee78407 (patch) | |
tree | ca3ba6836d371240186c2dd36fe3207b9d3c6f60 /src/Tests | |
parent | d34f85613a7bf32283abaff73965cf8a0436ea4f (diff) | |
download | pandoc-e021819ade4ca255ca3b653ea92fa507dee78407.tar.gz |
Fixed tests for escapes in links.
Diffstat (limited to 'src/Tests')
-rw-r--r-- | src/Tests/Readers/Markdown.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index 6739db263..d22cc308a 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -47,16 +47,16 @@ tests = [ testGroup "inline code" , testGroup "backslash escapes" [ "in URL" =: "[hi](/there\\))" - =?> para (link "hi" "/there)" "") + =?> para (link "/there)" "" "hi") , "in title" =: "[hi](/there \"a\\\"a)" - =?> para (link "hi" "/there" "a\"a") + =?> para (link "/there" "a\"a" "hi") , "in reference link title" =: "[hi]\n\n[hi]: /there (a\\)a)" - =?> para (link "hi" "/there" "a)a") + =?> para (link "/there" "a)a" "hi") , "in reference link URL" =: "[hi]\n\n[hi]: /there\\." - =?> para (link "hi" "/there." "") + =?> para (link "/there." "" "hi") ] , testGroup "smart punctuation" [ test markdownSmart "quote before ellipses" |