From fbc23ee892b37c0bbc663e2531daa127dd091d30 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 3 May 2013 11:35:31 +0200 Subject: Update test suite --- tests/Hakyll/Core/Rules/Tests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Hakyll/Core/Rules') diff --git a/tests/Hakyll/Core/Rules/Tests.hs b/tests/Hakyll/Core/Rules/Tests.hs index 6461b9d..12258f9 100644 --- a/tests/Hakyll/Core/Rules/Tests.hs +++ b/tests/Hakyll/Core/Rules/Tests.hs @@ -41,7 +41,7 @@ case01 = do let identifiers = S.fromList $ map fst $ rulesCompilers ruleSet routes = rulesRoutes ruleSet checkRoute ex i = - runRoutes routes provider i >>= \r -> Just ex @=? r + runRoutes routes provider i >>= \(r, _) -> Just ex @=? r -- Test that we have some identifiers and that the routes work out assert $ all (`S.member` identifiers) expected -- cgit v1.2.3