summaryrefslogtreecommitdiff
path: root/tests/Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tests.hs')
-rw-r--r--tests/Tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests.hs b/tests/Tests.hs
index e056b4b..38b072a 100644
--- a/tests/Tests.hs
+++ b/tests/Tests.hs
@@ -99,7 +99,7 @@ test_render_date2 = M.lookup (B.pack "date") rendered @?= Just (B.pack "Unknown
-- toRoot test cases
test_to_root1 = toRoot "/posts/foo.html" @?= ".."
test_to_root2 = toRoot "posts/foo.html" @?= ".."
-test_to_root3 = toRoot "foo.html" @?= ""
+test_to_root3 = toRoot "foo.html" @?= "."
-- Add an extension, and test that they have that extension
prop_having_extension_count names extension =