From e021819ade4ca255ca3b653ea92fa507dee78407 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 5 Dec 2011 21:13:06 -0800 Subject: Fixed tests for escapes in links. --- src/Tests/Readers/Markdown.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Tests') 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" -- cgit v1.2.3