complain loudly if Class::Method::Modifiers is too old (and skip tests)
[gitmo/Role-Tiny.git] / t / compose-modifiers.t
index 1e67ffc..8357d05 100644 (file)
@@ -1,9 +1,10 @@
-use strictures 1;
+use strict;
+use warnings FATAL => 'all';
 use Test::More;
 
 BEGIN {
-  plan skip_all => "Class::Method::Modifiers not installed"
-    unless eval "use Class::Method::Modifiers; 1";
+  plan skip_all => "Class::Method::Modifiers not installed or too old"
+    unless eval "use Class::Method::Modifiers 1.05; 1";
 }
 
 {