]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
tests: consistently use done_testing instead of no_plan
authorSimon McVittie <smcv@debian.org>
Mon, 30 Nov 2015 17:53:40 +0000 (17:53 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 30 Nov 2015 18:26:23 +0000 (18:26 +0000)
debian/changelog
t/parentlinks.t

index 0f045cacf89357067991b727321b47852a81143e..63f53ce1fb661af6ae82b886522381a1a378795d 100644 (file)
@@ -15,6 +15,7 @@ ikiwiki (3.20150615) UNRELEASED; urgency=medium
   * Run autopkgtest tests using autodep8 and the pkg-perl team's
     infrastructure
   * t/img.t: do not spuriously skip
+  * tests: consistently use done_testing instead of no_plan
 
  -- Simon McVittie <smcv@debian.org>  Mon, 15 Jun 2015 18:13:23 +0100
 
index 9b46549038c12b8bc86c316cf7cb3369ded0f77d..615fa62edd1e7a123810acb130f8eaed4075d43e 100755 (executable)
@@ -4,7 +4,7 @@
 
 use warnings;
 use strict;
-use Test::More 'no_plan';
+use Test::More;
 
 my %expected;
 
@@ -79,3 +79,5 @@ sub test_loop($$) {
 
 # Main
 test_loop('parentlinks', $expected{'parentlinks'});
+
+done_testing();