summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Identifier
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Core/Identifier')
-rw-r--r--tests/Hakyll/Core/Identifier/Tests.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Hakyll/Core/Identifier/Tests.hs b/tests/Hakyll/Core/Identifier/Tests.hs
index 0d7bfb8..6eb992a 100644
--- a/tests/Hakyll/Core/Identifier/Tests.hs
+++ b/tests/Hakyll/Core/Identifier/Tests.hs
@@ -30,6 +30,8 @@ captureTests = fromAssertions "capture"
, Just ["foo/bar"] @=? capture "**.html" "foo/bar.html"
, Just ["foo/bar", "wut"] @=? capture "**/qux/*" "foo/bar/qux/wut"
, Just ["lol", "fun/large"] @=? capture "*cat/**.jpg" "lolcat/fun/large.jpg"
+ , Just [] @=? capture "\\*.jpg" "*.jpg"
+ , Nothing @=? capture "\\*.jpg" "foo.jpg"
]
regexTests :: [Test]