aboutsummaryrefslogtreecommitdiff
path: root/t/pagespec_match.t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-23 17:11:04 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-23 17:11:04 -0500
commitc07a95ed8ecb84a2e7018c93c3d031f03bd25926 (patch)
tree6e7d69d5725f69f595b082d5961e13aa1f38ce89 /t/pagespec_match.t
parentc61c99fc7730dd05bdb56216b115448ccc27bfcd (diff)
downloadikiwiki-c07a95ed8ecb84a2e7018c93c3d031f03bd25926.tar
ikiwiki-c07a95ed8ecb84a2e7018c93c3d031f03bd25926.tar.gz
remove globlist support
No transition code implemented, but I will probably make a 2.x release that warns about found globlists.
Diffstat (limited to 't/pagespec_match.t')
-rwxr-xr-xt/pagespec_match.t11
1 files changed, 1 insertions, 10 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t
index 7c0ac235b..69cf361de 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 => 58;
+use Test::More tests => 51;
BEGIN { use_ok("IkiWiki"); }
@@ -77,12 +77,3 @@ ok(! pagespec_match("foo", "no_such_function(foo)"), "foo");
my $ret=pagespec_match("foo", "(invalid");
ok(! $ret, "syntax error");
ok($ret =~ /syntax error/, "error message");
-
-# old style globlists
-ok(pagespec_match("foo", "foo bar"), "simple list");
-ok(pagespec_match("bar", "foo bar"), "simple list 2");
-ok(pagespec_match("foo", "f?? !foz"));
-ok(! pagespec_match("foo", "f?? !foo"));
-ok(! pagespec_match("foo", "* !foo"));
-ok(! pagespec_match("foo", "foo !foo"));
-ok(! pagespec_match("foo.png", "* !*.*"));