xref: /openbsd-src/gnu/usr.bin/perl/cpan/Text-Balanced/t/97_pod.t (revision 256a93a44f36679bee503f12e49566c2183f6181)
1#!/usr/bin/perl
2
3# Test that the syntax of our POD documentation is valid
4
5use 5.008001;
6
7use strict;
8use warnings;
9
10use Test::More;
11
12my @MODULES = (
13    'Pod::Simple 3.07',
14    'Test::Pod 1.26',
15);
16
17# Don't run tests for installs
18use Test::More;
19unless ( $ENV{AUTHOR_TESTING} ) {
20    plan( skip_all => "Author testing only" );
21}
22
23# Load the testing modules
24foreach my $MODULE ( @MODULES ) {
25    ## no critic (BuiltinFunctions::ProhibitStringyEval)
26    eval "use $MODULE";
27    if ( $@ ) {
28        plan( skip_all => "$MODULE not available for testing" );
29    }
30}
31
32all_pod_files_ok();
33