mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
additional test for checking POD syntax
This commit is contained in:
parent
9aee12e250
commit
029c25f756
1 changed files with 16 additions and 0 deletions
16
t/51_pod.t
Executable file
16
t/51_pod.t
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
BEGIN {
|
||||||
|
plan skip_all =>
|
||||||
|
'set $ENV{AUTHOR_TEST} '.
|
||||||
|
'to enable this test'
|
||||||
|
unless $ENV{AUTHOR_TEST};
|
||||||
|
}
|
||||||
|
|
||||||
|
# Ensure a recent version of Test::Pod
|
||||||
|
my $min_tp = 1.22;
|
||||||
|
eval "use Test::Pod $min_tp";
|
||||||
|
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
|
||||||
|
all_pod_files_ok();
|
Loading…
Add table
Reference in a new issue