File: 02_pod-coverage.t

package info (click to toggle)
libdata-util-perl 0.67-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 556 kB
  • sloc: perl: 2,958; ansic: 416; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!perl -w

use Test::More;
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;

local $SIG{__WARN__} = sub{ 1 }; # not to concern about 'redefine' warnings
for my $module (all_modules()) {
	next if $module =~ m/PurePerl$/;
	pod_coverage_ok($module, {
		also_private => [qw(unimport regex_ref is_regex_ref)],
	});
}

done_testing;