diff options
| author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2013-04-22 11:16:54 -0700 |
|---|---|---|
| committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2013-04-22 11:16:54 -0700 |
| commit | 79215f71eb501f65d3e74fdda3e592fbcadd9c7e (patch) | |
| tree | 3e2da560d44af4479af4830c516f62d9d27c933f /tests | |
| parent | 0954e893a019ae357fdbd1baa8f4042f82c79a02 (diff) | |
| parent | 63a3000f9cab6446ce40cf6d9671123baee6c22b (diff) | |
| download | hakyll-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.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")) ] |
