aboutsummaryrefslogtreecommitdiffstats
path: root/t/02-mx-m-s.t
diff options
context:
space:
mode:
authorKaren Etheridge <karen@etheridge.ca>2010-08-16 13:39:07 -0700
committerKaren Etheridge <karen@etheridge.ca>2010-08-16 13:39:07 -0700
commitf45a6241c18e5aea4dab46007f252e51dad78569 (patch)
treea14c1105be530912db5252836456518b011a27b2 /t/02-mx-m-s.t
parentbb7cca58bd0aeb53796d1e058082f04077c630cc (diff)
downloadmx-alwayscoerce-f45a6241c18e5aea4dab46007f252e51dad78569.tar.gz
mx-alwayscoerce-f45a6241c18e5aea4dab46007f252e51dad78569.zip
convert to using Test::Requires
Diffstat (limited to 't/02-mx-m-s.t')
-rw-r--r--t/02-mx-m-s.t12
1 files changed, 4 insertions, 8 deletions
diff --git a/t/02-mx-m-s.t b/t/02-mx-m-s.t
index e79bac8..083535b 100644
--- a/t/02-mx-m-s.t
+++ b/t/02-mx-m-s.t
@@ -2,15 +2,11 @@
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 3;
-BEGIN {
- if (eval { require MooseX::Method::Signatures }) {
- plan tests => 3;
- } else {
- plan skip_all => 'This test needs MooseX::Method::Signatures';
- }
-}
+use Test::Requires {
+ 'MooseX::Method::Signatures' => 0.01,
+};
use Test::Exception;
use Test::NoWarnings;