on master help sign in
ADD: Added failing test cases for `toSiteRoot`.
commitcc5ea59b8cc52a0a7afa092af799761db2c4c7c1 authorIzzy Cecil <lorr.cecil@gmail.com> dateSat 19 Apr 2014, 17:20 (12 years ago) parent889e6f5
1 file changed+2
tests/Hakyll/Web/Html/Tests.hs+2
tests/Hakyll/Web/Html/Tests.hs+2
@@ -59,6 +59,8 @@ tests = testGroup "Hakyll.Web.Html.Tests" $ concat
5959 , "." @=? toSiteRoot "index.html"
6060 , "." @=? toSiteRoot "/index.html"
6161 , "../.." @=? toSiteRoot "foo/bar/qux"
62+ , ".." @=? toSiteRoot "./foo/bar.html"
63+ , ".." @=? toSiteRoot "/foo/./bar.html"
6264 ]
6365
6466 , fromAssertions "isExternal"