]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/bestlink.t
img test: Exercise a format that is uncommon on the web (BMP)
[git.ikiwiki.info.git] / t / bestlink.t
index 033b80d742c2f425259a2fe9ddf93546e1daf0bf..0020a05e2ea9bc70a090fe069c1450899ca5caac 100755 (executable)
@@ -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);