on master help sign in
Test for escaped patterns
commit0de38d9b9b9951f9ff92f681299845c758b67295 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateFri 8 Apr 2011, 22:20 (16 years ago) parenta8accd3
1 file changed+2
tests/Hakyll/Core/Identifier/Tests.hs+2
tests/Hakyll/Core/Identifier/Tests.hs+2
@@ -30,6 +30,8 @@ captureTests = fromAssertions "capture"
3030 , Just ["foo/bar"] @=? capture "**.html" "foo/bar.html"
3131 , Just ["foo/bar", "wut"] @=? capture "**/qux/*" "foo/bar/qux/wut"
3232 , Just ["lol", "fun/large"] @=? capture "*cat/**.jpg" "lolcat/fun/large.jpg"
33+ , Just [] @=? capture "\\*.jpg" "*.jpg"
34+ , Nothing @=? capture "\\*.jpg" "foo.jpg"
3335 ]
3436
3537regexTests :: [Test]