aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-29 22:58:27 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-29 22:58:27 +0000
commite7d4a00bf0badb0ac735efe128bf75af0516e7a3 (patch)
treeb73b83b864c9566ae407aeae4f356600b18dd1eb /t
parent0d01b4f4260a820995065ffd80a71c74ad9ae99b (diff)
downloadikiwiki-e7d4a00bf0badb0ac735efe128bf75af0516e7a3.tar
ikiwiki-e7d4a00bf0badb0ac735efe128bf75af0516e7a3.tar.gz
fix
Diffstat (limited to '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);
}