source: tags/5.2.27/LA-Tools/t/01_pod.t @ 2361

Last change on this file since 2361 was 1955, checked in by nanardon, 7 years ago

Add LA-Tools

File size: 356 bytes
Line 
1use strict;
2use warnings;
3use Test::More;
4use Test::Pod;
5
6eval "use Pod::Checker";
7plan skip_all => 'Pod::Checker required' if $@;
8
9my @pods = (
10    all_pod_files('blib', 'man'),
11);
12
13plan tests => scalar(@pods) * 2;
14
15foreach(@pods) {
16    my $errors = podchecker($_);
17    ok($errors >= 0, "File $_ contains pod");
18    ok($errors <= 0, "Check Pod of $_");
19}
Note: See TracBrowser for help on using the repository browser.