aboutsummaryrefslogtreecommitdiffstats
path: root/t/02-mx-m-s.t
diff options
context:
space:
mode:
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;