From a97b74b0d2f72722cd86619c01878acb01aa5167 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 20 Nov 2012 21:57:15 +0100 Subject: Port page list module a bit --- tests/Hakyll/Core/Provider/Tests.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Hakyll/Core/Provider') 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 -- cgit v1.2.3