aboutsummaryrefslogtreecommitdiff
path: root/t/linkify.t
diff options
context:
space:
mode:
Diffstat (limited to 't/linkify.t')
-rwxr-xr-xt/linkify.t5
1 files changed, 2 insertions, 3 deletions
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);
}