projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use Test::Requires in tests
[gitmo/Class-MOP.git]
/
t
/
050_scala_style_mixin_composition.t
diff --git
a/t/050_scala_style_mixin_composition.t
b/t/050_scala_style_mixin_composition.t
index
3c46368
..
b3c5376
100644
(file)
--- a/
t/050_scala_style_mixin_composition.t
+++ b/
t/050_scala_style_mixin_composition.t
@@
-3,10
+3,9
@@
use warnings;
use Test::More;
-BEGIN {
- eval "use SUPER 1.10";
- plan skip_all => "SUPER 1.10 required for this test" if $@;
-}
+use Test::Requires {
+ 'SUPER' => 1.10, # skip all if not installed
+};
=pod