Commit | Line | Data |
---|---|---|
e1eaa4ae | 1 | use strict; |
2 | use warnings; | |
3 | ||
4 | BEGIN { | |
5 | use lib 't/lib'; | |
6 | use Test::More; | |
7 | ||
8 | plan skip_all => 'set TEST_AUTHOR to enable this test' unless $ENV{TEST_AUTHOR}; | |
9 | ||
10 | eval 'use Test::Pod::Coverage 1.04'; | |
11 | plan skip_all => 'Test::Pod::Coverage 1.04' if $@; | |
12 | ||
13 | eval 'use Pod::Coverage 0.14'; | |
14 | plan skip_all => 'Pod::Coverage 0.14 not installed' if $@; | |
15 | }; | |
16 | ||
17 | my $trustme = { | |
18 | trustme => [qr/^(g|s)et_component_class$/] | |
19 | }; | |
20 | ||
21 | all_pod_coverage_ok($trustme); |