summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Provider
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-11-20 21:57:15 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-11-20 21:57:15 +0100
commita97b74b0d2f72722cd86619c01878acb01aa5167 (patch)
treefbd34eff28e1f2defb1afc4d2334e8b37d3fc7bf /tests/Hakyll/Core/Provider
parentb5adcb69d1cd26e613c5c56c85307050bb8297cf (diff)
downloadhakyll-a97b74b0d2f72722cd86619c01878acb01aa5167.tar.gz
Port page list module a bit
Diffstat (limited to 'tests/Hakyll/Core/Provider')
-rw-r--r--tests/Hakyll/Core/Provider/Tests.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Hakyll/Core/Provider/Tests.hs b/tests/Hakyll/Core/Provider/Tests.hs
index 9e46893..e1f9083 100644
--- a/tests/Hakyll/Core/Provider/Tests.hs
+++ b/tests/Hakyll/Core/Provider/Tests.hs
@@ -33,3 +33,6 @@ case01 = withTestStore $ \store -> do
metadata <- resourceMetadata provider "example.md"
Just "An example" @=? M.lookup "title" metadata
Just "External data" @=? M.lookup "external" metadata
+
+ doesntExist <- resourceMetadata provider "doesntexist.md"
+ M.empty @=? doesntExist