aboutsummaryrefslogtreecommitdiff
path: root/t/bestlink.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/bestlink.t
parent58ce89355f5af0bf2d9cedef66d57acc4ef76497 (diff)
downloadikiwiki-01c0f533de4f6504df8e762125ec06f8458b1024.tar
ikiwiki-01c0f533de4f6504df8e762125ec06f8458b1024.tar.gz
fix test suite after bestlink change
Diffstat (limited to 't/bestlink.t')
-rwxr-xr-xt/bestlink.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/bestlink.t b/t/bestlink.t
index 033b80d74..0020a05e2 100755
--- a/t/bestlink.t
+++ b/t/bestlink.t
@@ -11,11 +11,11 @@ sub test ($$$) {
my @existing_pages=@{shift()};
%IkiWiki::pagecase=();
- %links=();
+ %pagesources=();
$IkiWiki::config{userdir}="foouserdir";
foreach my $page (@existing_pages) {
$IkiWiki::pagecase{lc $page}=$page;
- $links{$page}=[];
+ $pagesources{$page}="$page.mdwn";
}
return bestlink($page, $link);