summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/Template
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-08-10 16:18:59 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2013-08-10 16:19:23 +0200
commitfad9134fd4957c4c38e0dd7e1263ea5bfc8af32c (patch)
tree2fcfece7acd2e1de4771b2319a344853fbc732dd /tests/Hakyll/Web/Template
parentab0aebb3c3b0ceec565af673b0de6bf141585b83 (diff)
downloadhakyll-fad9134fd4957c4c38e0dd7e1263ea5bfc8af32c.tar.gz
Add functionField again
Diffstat (limited to 'tests/Hakyll/Web/Template')
-rw-r--r--tests/Hakyll/Web/Template/Tests.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/Template/Tests.hs b/tests/Hakyll/Web/Template/Tests.hs
index 1d80a06..8763147 100644
--- a/tests/Hakyll/Web/Template/Tests.hs
+++ b/tests/Hakyll/Web/Template/Tests.hs
@@ -58,6 +58,7 @@ testContext = mconcat
n1 <- makeItem "Jan"
n2 <- makeItem "Piet"
return [n1, n2]
+ , functionField "rev" $ \args _ -> return $ unwords $ map reverse args
]
where