projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c0ac5
)
complex test
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 02:10:24 +0000
(
02:10
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 02:10:24 +0000
(
02:10
+0000)
t/pagespec_match.t
patch
|
blob
|
history
diff --git
a/t/pagespec_match.t
b/t/pagespec_match.t
index 35d420f1052b88aca3e28fd399c92fe3f72719cf..4f5ccc92ced84e9f68567da0bfef6c3b46d27092 100755
(executable)
--- a/
t/pagespec_match.t
+++ b/
t/pagespec_match.t
@@
-1,7
+1,7
@@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 2
0
;
+use Test::More tests => 2
1
;
BEGIN { use_ok("IkiWiki"); }
@@
-17,6
+17,7
@@
ok(! IkiWiki::pagespec_match("foo", "f?? and !foo"));
ok(! IkiWiki::pagespec_match("foo", "* and !foo"));
ok(! IkiWiki::pagespec_match("foo", "foo and !foo"));
ok(! IkiWiki::pagespec_match("foo.png", "* and !*.*"));
+ok(IkiWiki::pagespec_match("foo", "(bar or ((meep and foo) or (baz or foo) or beep))"));
# old style globlists
ok(IkiWiki::pagespec_match("foo", "foo bar"), "simple list");