aboutsummaryrefslogtreecommitdiff
path: root/src/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-05 21:16:30 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-05 21:33:40 -0800
commit7512c9dd124ed4a82b4dc70c91d89d16e8919a8b (patch)
treec0c293cfee0ee15b1c7866fae505e072c98c61d0 /src/Tests
parent26371975f8ca40b6ca97bb5712f36aba99cccae5 (diff)
downloadpandoc-7512c9dd124ed4a82b4dc70c91d89d16e8919a8b.tar.gz
Fixed tests for escapes in markdown titles, URLs.
Diffstat (limited to 'src/Tests')
-rw-r--r--src/Tests/Readers/Markdown.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs
index d22cc308a..61bd3a107 100644
--- a/src/Tests/Readers/Markdown.hs
+++ b/src/Tests/Readers/Markdown.hs
@@ -49,14 +49,14 @@ tests = [ testGroup "inline code"
"[hi](/there\\))"
=?> para (link "/there)" "" "hi")
, "in title" =:
- "[hi](/there \"a\\\"a)"
+ "[hi](/there \"a\\\"a\")"
=?> para (link "/there" "a\"a" "hi")
, "in reference link title" =:
"[hi]\n\n[hi]: /there (a\\)a)"
=?> para (link "/there" "a)a" "hi")
, "in reference link URL" =:
- "[hi]\n\n[hi]: /there\\."
- =?> para (link "/there." "" "hi")
+ "[hi]\n\n[hi]: /there\\.0"
+ =?> para (link "/there.0" "" "hi")
]
, testGroup "smart punctuation"
[ test markdownSmart "quote before ellipses"