summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-13 22:25:28 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-13 22:25:28 +0100
commitcfac1bbca6e5950d8abdc8329e84de4794e08677 (patch)
treeb0fc802c209dd1fd8ec59c0c490c115b9bd59651 /tests
parent089670629bc0f84c74fef520772caec842d2a549 (diff)
downloadhakyll-cfac1bbca6e5950d8abdc8329e84de4794e08677.tar.gz
Rename require to load, thanks @ddfreyne
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Core/Runtime/Tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Hakyll/Core/Runtime/Tests.hs b/tests/Hakyll/Core/Runtime/Tests.hs
index 38eb5f5..3488dba 100644
--- a/tests/Hakyll/Core/Runtime/Tests.hs
+++ b/tests/Hakyll/Core/Runtime/Tests.hs
@@ -36,7 +36,7 @@ case01 = withTestConfiguration $ \config -> do
match "bodies.txt" $ do
route idRoute
compile $ do
- items <- requireAllSnapshots "*.md" "raw"
+ items <- loadAllSnapshots "*.md" "raw"
makeItem $ concat $ map itemBody (items :: [Item String])
example <- readFile $ destinationDirectory config </> "example.html"