Adapt autoindex test suite to work with old Test::More.
authorJoey Hess <joey@kitenet.net>
Sat, 22 Jan 2011 15:00:57 +0000 (11:00 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 22 Jan 2011 15:00:57 +0000 (11:00 -0400)
debian/changelog
t/autoindex.t

index 1c0d067772baaabf599beddff2c933f6a82b1461..5eb530531ede181d7ea4ba7667c71472cefa9455 100644 (file)
@@ -1,3 +1,9 @@
+ikiwiki (3.20110123) UNRELEASED; urgency=low
+
+  * Adapt autoindex test suite to work with old Test::More.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 22 Jan 2011 11:00:37 -0400
+
 ikiwiki (3.20110122) unstable; urgency=medium
 
   * inline: Pass feed titles to templates and add title and rel attributes
index b47f2e0eb867603784100921458c59204cc88067..9bef2415a23ea597ec29434845a2271c47f0d053 100755 (executable)
@@ -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;