diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-30 16:35:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-30 16:35:44 -0400 |
commit | 2bfbad7af4e3e09287b4c06c958d0929c0c7bc63 (patch) | |
tree | 442771f0099506df5037227c8ef690c5a411499c /t | |
parent | d9dc2c6be52ab4d50585e3b1211a061b77b51e5c (diff) | |
parent | b5bc0e812d7bc5b69826039131b74071d23337c1 (diff) |
Merge branch 'master' into tova
Diffstat (limited to 't')
-rwxr-xr-x | t/pagespec_match.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t index 9d5573747..c61d16122 100755 --- a/t/pagespec_match.t +++ b/t/pagespec_match.t @@ -1,11 +1,13 @@ #!/usr/bin/perl use warnings; use strict; -use Test::More tests => 54; +use Test::More tests => 56; BEGIN { use_ok("IkiWiki"); } ok(pagespec_match("foo", "*")); +ok(!pagespec_match("foo", "")); +ok(pagespec_match("foo", "!bar")); ok(pagespec_match("page", "?ag?")); ok(! pagespec_match("page", "?a?g?")); ok(pagespec_match("foo.png", "*.*")); |