summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Provider
diff options
context:
space:
mode:
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