summaryrefslogtreecommitdiff
path: root/tests/Hakyll
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2011-10-03 09:44:37 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2011-10-03 09:44:37 +0200
commitc015be003ead11000b84f70ae5bcc2708b04c3f8 (patch)
treed51cebe1b6c985d5a41b14423de86a7bddc0dc7f /tests/Hakyll
parentc8a970d64bdddc1e8655ac1ebf5d028d1bf6a021 (diff)
downloadhakyll-c015be003ead11000b84f70ae5bcc2708b04c3f8.tar.gz
Add test for new relativizeUrls
Diffstat (limited to 'tests/Hakyll')
-rw-r--r--tests/Hakyll/Web/Urls/Relativize/Tests.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Urls/Relativize/Tests.hs b/tests/Hakyll/Web/Urls/Relativize/Tests.hs
index 00f5a0f..465d266 100644
--- a/tests/Hakyll/Web/Urls/Relativize/Tests.hs
+++ b/tests/Hakyll/Web/Urls/Relativize/Tests.hs
@@ -17,4 +17,9 @@ tests = fromAssertions "relativizeUrls"
relativizeUrls "../.." "<img src=\"/images/lolcat.png\" />"
, "<a href=\"http://haskell.org\">Haskell</a>" @=?
relativizeUrls "../.." "<a href=\"http://haskell.org\">Haskell</a>"
+ , "<a href=\"http://haskell.org\">Haskell</a>" @=?
+ relativizeUrls "../.." "<a href=\"http://haskell.org\">Haskell</a>"
+ , "<script src=\"//ajax.googleapis.com/jquery.min.js\"></script>" @=?
+ relativizeUrls "../.."
+ "<script src=\"//ajax.googleapis.com/jquery.min.js\"></script>"
]