aboutsummaryrefslogtreecommitdiff
path: root/t/pagespec_match.t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-11-30 18:05:47 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-11-30 18:05:47 -0500
commit01c0f533de4f6504df8e762125ec06f8458b1024 (patch)
treeb8a2162f9ff81533edcf6cd661e75dd8f53a0f0c /t/pagespec_match.t
parent58ce89355f5af0bf2d9cedef66d57acc4ef76497 (diff)
downloadikiwiki-01c0f533de4f6504df8e762125ec06f8458b1024.tar
ikiwiki-01c0f533de4f6504df8e762125ec06f8458b1024.tar.gz
fix test suite after bestlink change
Diffstat (limited to 't/pagespec_match.t')
-rwxr-xr-xt/pagespec_match.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t
index d529106f7..b96947407 100755
--- a/t/pagespec_match.t
+++ b/t/pagespec_match.t
@@ -49,9 +49,13 @@ $links{"bugs/foo"}=[qw{bugs/done}];
$links{"bugs/done"}=[];
$links{"bugs/bar"}=[qw{done}];
$links{"done"}=[];
+$links{"done"}=[];
$links{"examples/softwaresite/bugs/fails_to_frobnicate"}=[qw{done}];
$links{"examples/softwaresite/bugs/done"}=[];
$links{"ook"}=[qw{/blog/tags/foo}];
+foreach my $p (keys %links) {
+ $pagesources{$p}="$p.mdwn";
+}
ok(pagespec_match("foo", "link(bar)"), "link");
ok(pagespec_match("foo", "link(ba?)"), "glob link");