diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2015-08-17 10:48:05 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2015-08-17 10:48:05 +0200 |
commit | b137a873015ecdfd053791722f242033aaa41fe7 (patch) | |
tree | 252cc7040a07d9738b287d3470f6af9233dfdd8a /tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs | |
parent | 72f2b6c439803ee2224e9fff774c5d08df56c683 (diff) | |
parent | e77564f1b292d6021a29565c1d12c89ff6881e3c (diff) | |
download | hakyll-b137a873015ecdfd053791722f242033aaa41fe7.tar.gz |
Merge pull request #368 from vtduncan/poster-url-attribute
Add "poster" as a URL attribute
Diffstat (limited to 'tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs')
-rw-r--r-- | tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs b/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs index 7799217..4d9421e 100644 --- a/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs +++ b/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs @@ -22,6 +22,9 @@ tests = testGroup "Hakyll.Web.Html.RelativizeUrls.Tests" $ relativizeUrlsWith ".." "<a href=\"/foo\">bar</a>" , "<img src=\"../../images/lolcat.png\" />" @=? relativizeUrlsWith "../.." "<img src=\"/images/lolcat.png\" />" + , "<video poster=\"../../images/lolcat.png\"></video>" @=? + relativizeUrlsWith "../.." + "<video poster=\"/images/lolcat.png\"></video>" , "<a href=\"http://haskell.org\">Haskell</a>" @=? relativizeUrlsWith "../.." "<a href=\"http://haskell.org\">Haskell</a>" |