This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository libparse-debianchangelog-perl.

commit e3ab2b035eee6bfc01bf80fc5cf5b64c80e97410
Author: Frank Lichtenheld <fr...@lichtenheld.de>
Date:   Sat Sep 1 03:14:42 2007 +0200

    Documentation.t: Compute number of tests automatically
    
    use all_pod_files() to compute the number of tests automatically
    so that I don't have to update the file if the number changes.
---
 t/Documentation.t | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/Documentation.t b/t/Documentation.t
index 7660ed9..935b849 100644
--- a/t/Documentation.t
+++ b/t/Documentation.t
@@ -3,9 +3,11 @@
 use strict;
 use warnings;
 
-use Test::More tests => 11;
+use Test::More;
 use Test::Pod 1.00;
 
+plan tests => 5+all_pod_files();
+
 # don't use all_pod_files_ok since we can't plan() then previously
 foreach (all_pod_files()) {
     pod_file_ok( $_, "POD $_ ok" );

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to