Fix python proxy to not crash when fed unicode data in getstate and setstate.
[ikiwiki.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);