diff options
Diffstat (limited to 'tests/Hakyll/Web/Html/Tests.hs')
-rw-r--r-- | tests/Hakyll/Web/Html/Tests.hs | 1 |
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")) ] |