From 8c0a609d6a8437b129228cfaad592d839b60b2c8 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 3 Jan 2013 19:02:11 +0100 Subject: Add .&&. and .||. operators --- tests/Hakyll/Core/Identifier/Tests.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Hakyll/Core/Identifier') diff --git a/tests/Hakyll/Core/Identifier/Tests.hs b/tests/Hakyll/Core/Identifier/Tests.hs index a31b424..8a8ed7c 100644 --- a/tests/Hakyll/Core/Identifier/Tests.hs +++ b/tests/Hakyll/Core/Identifier/Tests.hs @@ -66,4 +66,5 @@ matchesTests = fromAssertions "matches" , False @=? matches (fromRegex "^foo/[^x]*$") "foo/barx" , True @=? matches (complement "foo.markdown") "bar.markdown" , False @=? matches (complement "foo.markdown") "foo.markdown" + , True @=? matches ("foo" .||. "bar") "bar" ] -- cgit v1.2.3