Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
78b837db
Unverified
Commit
78b837db
authored
Nov 29, 2019
by
IKEDA Soji
Committed by
GitHub
Nov 29, 2019
Browse files
Merge pull request #811 from ikedas/update-Test-Pod by ikedas
Updating dependency Test::Pod
parents
d31e1aa4
dedba43e
Changes
2
Hide whitespace changes
Inline
Side-by-side
cpanfile
View file @
78b837db
...
...
@@ -306,7 +306,7 @@ on 'test' => sub {
requires 'Test::Compile';
requires 'Test::Harness';
requires 'Test::More';
requires 'Test::Pod';
requires 'Test::Pod'
, '>= 1.41'
;
};
on 'develop' => sub {
...
...
t/pod-syntax.t
View file @
78b837db
...
...
@@ -7,14 +7,19 @@ use warnings;
use
English
qw(-no_match_vars)
;
use
Test::
More
;
my
$test_pod_ok
;
BEGIN
{
eval
'
use Test::Pod
';
# Test::Pod 1.40 mistakenly complains about the construct L<text|url>.
eval
'
use Test::Pod 1.41
';
$test_pod_ok
=
1
unless
$EVAL_ERROR
;
}
unless
(
$test_pod_ok
)
{
plan
(
skip_all
=>
'
Test::Pod 1.41 or later required
');
}
else
{
my
@files
=
(
all_pod_files
('
src
'),
glob
('
doc/*.pod
'),
glob
('
doc/*.podin
'),
glob
('
doc/*.podpl
')
);
all_pod_files_ok
(
@files
);
}
plan
(
skip_all
=>
'
Test::Pod required
')
unless
$
Test::Pod::
VERSION
;
my
@files
=
(
all_pod_files
('
src
'),
glob
('
doc/*.pod
'),
glob
('
doc/*.podin
'),
glob
('
doc/*.podpl
')
);
all_pod_files_ok
(
@files
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment