aboutsummaryrefslogtreecommitdiff
path: root/t/autoindex.t
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-22 11:00:57 -0400
committerJoey Hess <joey@kitenet.net>2011-01-22 11:00:57 -0400
commit0e224058e73308ddc67f5a403b0cc5aaa5345d7d (patch)
treef53c065dd851b1e99b377ac59f4fec15fca1b679 /t/autoindex.t
parent9e3b624709d343b4dafd5ac0ea6a5de558c1444f (diff)
downloadikiwiki-0e224058e73308ddc67f5a403b0cc5aaa5345d7d.tar
ikiwiki-0e224058e73308ddc67f5a403b0cc5aaa5345d7d.tar.gz
Adapt autoindex test suite to work with old Test::More.
Diffstat (limited to 't/autoindex.t')
-rwxr-xr-xt/autoindex.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/autoindex.t b/t/autoindex.t
index b47f2e0eb..9bef2415a 100755
--- a/t/autoindex.t
+++ b/t/autoindex.t
@@ -3,7 +3,7 @@ package IkiWiki;
use warnings;
use strict;
-use Test::More;
+use Test::More tests => 17;
BEGIN { use_ok("IkiWiki"); }
BEGIN { use_ok("IkiWiki::Render"); }
@@ -70,5 +70,4 @@ ok(! -f "t/tmp/reinstated.mdwn");
ok(! exists $wikistate{autoindex}{deleted}{tags});
ok(-s "t/tmp/tags.mdwn");
-done_testing();
1;