summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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