summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/Template
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-02-09 15:11:40 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-02-09 15:11:40 +0100
commit86d0b68aed6e82fd4a6c935ce6113937023f6e6b (patch)
tree203e81bde47a7eed1c8cf7d9bf854a08e5329c8d /tests/Hakyll/Web/Template
parentea953d3415232ba53aadc061e9005dbe74e3b012 (diff)
downloadhakyll-86d0b68aed6e82fd4a6c935ce6113937023f6e6b.tar.gz
Start provider rewrite
Diffstat (limited to 'tests/Hakyll/Web/Template')
-rw-r--r--tests/Hakyll/Web/Template/Tests.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Template/Tests.hs b/tests/Hakyll/Web/Template/Tests.hs
index 6fb5233..b96cfa5 100644
--- a/tests/Hakyll/Web/Template/Tests.hs
+++ b/tests/Hakyll/Web/Template/Tests.hs
@@ -44,6 +44,7 @@ case01 = do
pandocCompiler >>= applyTemplate (itemBody tpl) testContext
out @=? itemBody item
+ cleanTestEnv
--------------------------------------------------------------------------------
@@ -63,6 +64,7 @@ testApplyJoinTemplateList = do
applyJoinTemplateList ", " tpl defaultContext [i1, i2]
str @?= "<b>Hello</b>, <b>World</b>"
+ cleanTestEnv
where
i1 = Item "item1" "Hello"
i2 = Item "item2" "World"