aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-02 02:10:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-02 02:10:24 +0000
commit895da646a871d6fe858d0f09acf881ae2b2d34d6 (patch)
tree8d9ef47a7988004f4ac2f84fde123112795304fa
parentd6c0ac5b8a455bdf7cfb708817a914cd7a4b4652 (diff)
downloadikiwiki-895da646a871d6fe858d0f09acf881ae2b2d34d6.tar
ikiwiki-895da646a871d6fe858d0f09acf881ae2b2d34d6.tar.gz
complex test
-rwxr-xr-xt/pagespec_match.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t
index 35d420f10..4f5ccc92c 100755
--- 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 => 20;
+use Test::More tests => 21;
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");