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
/
300_immutable
/
010_constructor_is_not_moose.t
diff --git
a/t/300_immutable/010_constructor_is_not_moose.t
b/t/300_immutable/010_constructor_is_not_moose.t
index
5ac676e
..
e30d673
100644
(file)
--- a/
t/300_immutable/010_constructor_is_not_moose.t
+++ b/
t/300_immutable/010_constructor_is_not_moose.t
@@
-4,10
+4,10
@@
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 NotMoose;