aboutsummaryrefslogtreecommitdiff
path: root/t/pagespec_match.t
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-29 15:51:32 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-29 15:51:32 -0500
commit8b31c53366bbee51b36501443eafd0f712ee6a4c (patch)
tree5c3f3645b4e3d7439f57fc954d6af6ca8bfd3497 /t/pagespec_match.t
parentcabd5140c4d6255afdcb527e7f6d7e7815e4aa43 (diff)
downloadikiwiki-8b31c53366bbee51b36501443eafd0f712ee6a4c.tar
ikiwiki-8b31c53366bbee51b36501443eafd0f712ee6a4c.tar.gz
added configuration for recentchanges
I kept it to a simple global configuration, rather than using the preprocessor directive for recentchanges, because that had chicken and egg problems and seemed overcomplicated. This should work reasonably well, though it would be good to add some more metadata so that more customised recentchanges pages can be made.
Diffstat (limited to 't/pagespec_match.t')
-rwxr-xr-xt/pagespec_match.t3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t
index 3a641c6a8..cb98ab149 100755
--- a/t/pagespec_match.t
+++ b/t/pagespec_match.t
@@ -67,9 +67,6 @@ ok(! pagespec_match("foo", "creation_day(3)"), "other day");
ok(! pagespec_match("foo", "no_such_function(foo)"), "foo");
-ok(pagespec_match("foo", "foo and user(bar)", user => "bar"), "user");
-ok(! pagespec_match("foo", "foo and user(bar)", user => "baz"), "user fail");
-
my $ret=pagespec_match("foo", "(invalid");
ok(! $ret, "syntax error");
ok($ret eq "syntax error", "error message");