fixed tests to "pass" under latest MXRP (0.25); however todo tests still remain
[gitmo/MooseX-AlwaysCoerce.git] / t / 02-mx-m-s.t
index c79c947..083535b 100644 (file)
@@ -2,16 +2,14 @@
 use strict;
 use warnings;
 
-use Test::More;
-use Test::Exception;
+use Test::More tests => 3;
 
-BEGIN {
-    if (eval { require MooseX::Method::Signatures }) {
-        plan tests => 2;
-    } else {
-        plan skip_all => 'This test needs MooseX::Method::Signatures';
-    }
-}
+use Test::Requires {
+    'MooseX::Method::Signatures' => 0.01,
+};
+
+use Test::Exception;
+use Test::NoWarnings;
 
 {
     package MyClass;