summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2013-04-22 11:16:54 -0700
committerJasper Van der Jeugt <jaspervdj@gmail.com>2013-04-22 11:16:54 -0700
commit79215f71eb501f65d3e74fdda3e592fbcadd9c7e (patch)
tree3e2da560d44af4479af4830c516f62d9d27c933f /tests
parent0954e893a019ae357fdbd1baa8f4042f82c79a02 (diff)
parent63a3000f9cab6446ce40cf6d9671123baee6c22b (diff)
downloadhakyll-79215f71eb501f65d3e74fdda3e592fbcadd9c7e.tar.gz
Merge pull request #133 from simukis/scheme-relative
Account for scheme-relative URLs
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Web/Html/Tests.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Html/Tests.hs b/tests/Hakyll/Web/Html/Tests.hs
index 1c17f5c..bfb6b7c 100644
--- a/tests/Hakyll/Web/Html/Tests.hs
+++ b/tests/Hakyll/Web/Html/Tests.hs
@@ -58,6 +58,7 @@ tests = testGroup "Hakyll.Web.Html.Tests" $ concat
, fromAssertions "isExternal"
[ assert (isExternal "http://reddit.com")
, assert (isExternal "https://mail.google.com")
+ , assert (isExternal "//ajax.googleapis.com")
, assert (not (isExternal "../header.png"))
, assert (not (isExternal "/foo/index.html"))
]