summaryrefslogtreecommitdiff
path: root/tests/Hakyll
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-26 15:00:45 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-26 15:00:45 +0100
commit99200aef5d99a9ffe1c9c98fc9d31db4a78d2e26 (patch)
tree61a095714808ffe027e4bcce3621b402bf2b3817 /tests/Hakyll
parentf61c5a7278613486c214c65080c003682f033c85 (diff)
downloadhakyll-99200aef5d99a9ffe1c9c98fc9d31db4a78d2e26.tar.gz
Foldable/Traversable instance for Item
Diffstat (limited to 'tests/Hakyll')
-rw-r--r--tests/Hakyll/Core/UnixFilter/Tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Hakyll/Core/UnixFilter/Tests.hs b/tests/Hakyll/Core/UnixFilter/Tests.hs
index f5cbf9d..c3e1c99 100644
--- a/tests/Hakyll/Core/UnixFilter/Tests.hs
+++ b/tests/Hakyll/Core/UnixFilter/Tests.hs
@@ -33,5 +33,5 @@ unixFilterRev = withTestStore $ \store -> do
expected <- testCompilerDone store provider "russian.md" getResourceString
H.assert $ rev (itemBody expected) == lines (itemBody output)
where
- compiler = getResourceString >>= itemM (unixFilter "rev" [])
+ compiler = getResourceString >>= withItemBody (unixFilter "rev" [])
rev = map reverse . lines