X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0d01b4f4260a820995065ffd80a71c74ad9ae99b..739325834bd8252d94558d9662bc877c5f0d83af:/t/linkify.t 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); }