From 0e224058e73308ddc67f5a403b0cc5aaa5345d7d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 22 Jan 2011 11:00:57 -0400 Subject: Adapt autoindex test suite to work with old Test::More. --- t/autoindex.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 't/autoindex.t') 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; -- cgit v1.2.3