diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-30 18:05:47 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-30 18:05:47 -0500 |
commit | 01c0f533de4f6504df8e762125ec06f8458b1024 (patch) | |
tree | b8a2162f9ff81533edcf6cd661e75dd8f53a0f0c /t/pagespec_match.t | |
parent | 58ce89355f5af0bf2d9cedef66d57acc4ef76497 (diff) |
fix test suite after bestlink change
Diffstat (limited to 't/pagespec_match.t')
-rwxr-xr-x | t/pagespec_match.t | 4 |
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"); |