Debian Codegraph @

contrib/perl/t/pod-coverage.t

raw
1 # SPDX-License-Identifier: Artistic-1.0-Perl
2 # Copyright (C) 2011 Simon Cozens
3 use strict;
4 use warnings;
5 use Test::More;
6
7 # Ensure a recent version of Test::Pod::Coverage
8 my $min_tpc = 1.08;
9 eval "use Test::Pod::Coverage $min_tpc";
10 plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
11 if $@;
12
13 # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
14 # but older versions don't recognize some common documentation styles
15 my $min_pc = 0.18;
16 eval "use Pod::Coverage $min_pc";
17 plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
18 if $@;
19
20 all_pod_coverage_ok();