From 0d42c8e8c15eb1addd4fb1b1669e89cffc36d7e6 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Thu, 29 Jul 2010 15:06:07 -0700 Subject: add Test::NoWarnings; add (failing) tests for the use of MX::AlwaysCoerce from a role --- t/02-mx-m-s.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't/02-mx-m-s.t') 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; -- cgit v1.2.3-54-g00ecf