summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/DokuWiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Tests/Readers/DokuWiki.hs b/test/Tests/Readers/DokuWiki.hs
index 56275d3d2..c0363db31 100644
--- a/test/Tests/Readers/DokuWiki.hs
+++ b/test/Tests/Readers/DokuWiki.hs
@@ -167,10 +167,10 @@ tests = [ testGroup "inlines"
para (imageWith ("", ["align-center"], []) "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))
, "Image with width" =:
"{{wiki:dokuwiki-128.png?50}}" =?>
- para (imageWith ("", [], [("width", "50")]) "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))
+ para (imageWith ("", [], [("width", "50"), ("query", "?50")]) "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))
, "Image with width and height" =:
"{{wiki:dokuwiki-128.png?nocache&50x100}}" =?>
- para (imageWith ("", [], [("width", "50"), ("height", "100")]) "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))
+ para (imageWith ("", [], [("width", "50"), ("height", "100"), ("query", "?nocache&50x100")]) "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))
, "Linkonly" =:
"{{wiki:dokuwiki-128.png?linkonly}}" =?>
para (link "/wiki/dokuwiki-128.png" "" (str "dokuwiki-128.png"))