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
/
020_attributes
/
027_accessor_override_method.t
diff --git
a/t/020_attributes/027_accessor_override_method.t
b/t/020_attributes/027_accessor_override_method.t
index
b20ed3c
..
d3c1a58
100644
(file)
--- a/
t/020_attributes/027_accessor_override_method.t
+++ b/
t/020_attributes/027_accessor_override_method.t
@@
-3,10
+3,9
@@
use strict;
use warnings;
use Test::More;
-BEGIN {
- eval "use Test::Output;";
- plan skip_all => "Test::Output is required for this test" if $@;
-}
+use Test::Requires {
+ 'Test::Output' => '0.01', # skip all if not installed
+};
{
package Foo;