projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use Test::Requires in tests
[gitmo/Moose.git]
/
xt
/
author
/
pod.t
diff --git
a/xt/author/pod.t
b/xt/author/pod.t
index
4ae1af3
..
5627f22
100644
(file)
--- a/
xt/author/pod.t
+++ b/
xt/author/pod.t
@@
-5,7
+5,8
@@
use warnings;
use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+use Test::Requires {
+ 'Test::Pod' => '1.14', # skip all if not installed
+};
all_pod_files_ok();