X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0d01b4f4260a820995065ffd80a71c74ad9ae99b..78bdead06afca141ec3de4043242c5de957aa8bb:/t/linkify.t?ds=inline diff --git a/t/linkify.t b/t/linkify.t index c7bfbcd38..d9c4c0474 100755 --- a/t/linkify.t +++ b/t/linkify.t @@ -5,9 +5,6 @@ use Test::More tests => 16; BEGIN { use_ok("IkiWiki"); } -# currently coded for non usedirs mode (TODO: check both) -$config{usedirs}=0; - sub linkify ($$$$) { my $lpage=shift; my $page=shift; @@ -27,6 +24,8 @@ sub linkify ($$$$) { } %config=IkiWiki::defaultconfig(); $config{cgiurl}="http://somehost/ikiwiki.cgi"; + # currently coded for non usedirs mode (TODO: check both) + $config{usedirs}=0; return IkiWiki::linkify($lpage, $page, $content); }