]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/pagespec_match.t
redaction
[git.ikiwiki.info.git] / t / pagespec_match.t
index d529106f751ab90a60a63074aab0e418fe36af7d..b96947407b44838a39ade2dd89cd90b6788bd3f3 100755 (executable)
@@ -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");