summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-01-03 19:02:11 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-01-03 19:02:11 +0100
commit8c0a609d6a8437b129228cfaad592d839b60b2c8 (patch)
tree6a3ac772513bc6f0b2ffa80259f29e630fa51ae1 /tests
parent9ea75c128c2f80bc3b75b1f1b9e718ce6df6dd36 (diff)
downloadhakyll-8c0a609d6a8437b129228cfaad592d839b60b2c8.tar.gz
Add .&&. and .||. operators
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Core/Identifier/Tests.hs1
1 files changed, 1 insertions, 0 deletions
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"
]