summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Web')
-rw-r--r--tests/Hakyll/Web/Template/Context/Tests.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Template/Context/Tests.hs b/tests/Hakyll/Web/Template/Context/Tests.hs
index f263391..d4a9035 100644
--- a/tests/Hakyll/Web/Template/Context/Tests.hs
+++ b/tests/Hakyll/Web/Template/Context/Tests.hs
@@ -41,6 +41,10 @@ testDateField = do
dateField "date" "%B %e, %Y"
date2 @=? "August 26, 2010"
+ date3 <- testContextDone store provider
+ "posts/2018-09-26.md" "date" $
+ dateField "date" "%B %e, %Y"
+ date3 @=? "September 26, 2018"
cleanTestEnv