aboutsummaryrefslogtreecommitdiffstats
path: root/t/02-mx-m-s.t
diff options
context:
space:
mode:
authorKaren Etheridge <karen@etheridge.ca>2010-07-29 15:06:07 -0700
committerKaren Etheridge <karen@etheridge.ca>2010-07-29 15:22:19 -0700
commit0d42c8e8c15eb1addd4fb1b1669e89cffc36d7e6 (patch)
tree43767417272745e70212fc89c624d57fe7107023 /t/02-mx-m-s.t
parentdd11ea452cdae2f2949376f1d8c1bfc73577fad5 (diff)
downloadmx-alwayscoerce-0d42c8e8c15eb1addd4fb1b1669e89cffc36d7e6.tar.gz
mx-alwayscoerce-0d42c8e8c15eb1addd4fb1b1669e89cffc36d7e6.zip
add Test::NoWarnings; add (failing) tests for the use of MX::AlwaysCoerce from a role
Diffstat (limited to 't/02-mx-m-s.t')
-rw-r--r--t/02-mx-m-s.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/02-mx-m-s.t b/t/02-mx-m-s.t
index c79c947..e79bac8 100644
--- a/t/02-mx-m-s.t
+++ b/t/02-mx-m-s.t
@@ -3,16 +3,18 @@ use strict;
use warnings;
use Test::More;
-use Test::Exception;
BEGIN {
if (eval { require MooseX::Method::Signatures }) {
- plan tests => 2;
+ plan tests => 3;
} else {
plan skip_all => 'This test needs MooseX::Method::Signatures';
}
}
+use Test::Exception;
+use Test::NoWarnings;
+
{
package MyClass;
use Moose;