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]
/
t
/
200_examples
/
005_example_w_TestDeep.t
diff --git
a/t/200_examples/005_example_w_TestDeep.t
b/t/200_examples/005_example_w_TestDeep.t
index
49030cc
..
676ae29
100644
(file)
--- a/
t/200_examples/005_example_w_TestDeep.t
+++ b/
t/200_examples/005_example_w_TestDeep.t
@@
-15,10
+15,9
@@
but it is not completely horrid either.
=cut
-BEGIN {
- eval "use Test::Deep;";
- plan skip_all => "Test::Deep is required for this test" if $@;
-}
+use Test::Requires {
+ 'Test::Deep' => '0.01', # skip all if not installed
+};
use Test::Exception;