From: Karen Etheridge Date: Sat, 13 Oct 2012 23:25:35 +0000 (-0700) Subject: emit warnings immediately X-Git-Tag: v0.18~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27f1eb75d714bc2a7c1302a6cccbacbe0e64b108;p=gitmo%2FMooseX-AlwaysCoerce.git emit warnings immediately --- diff --git a/t/01-basic.t b/t/01-basic.t index f8117ec..d02bc12 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -4,7 +4,7 @@ use warnings; use Test::More tests => 16; use Test::Fatal; -use Test::NoWarnings; +use Test::NoWarnings 1.04 ':early'; { package MyClass; diff --git a/t/02-mx-m-s.t b/t/02-mx-m-s.t index 3209e64..2dbadc7 100644 --- a/t/02-mx-m-s.t +++ b/t/02-mx-m-s.t @@ -26,7 +26,7 @@ use Test::More; } use Test::Fatal; -use Test::NoWarnings; +use Test::NoWarnings 1.04 ':early'; plan tests => 4; ok( (my $instance = MyClass->new), 'instance' ); diff --git a/t/03-roles.t b/t/03-roles.t index f3ff3ec..b54f038 100644 --- a/t/03-roles.t +++ b/t/03-roles.t @@ -4,7 +4,7 @@ use warnings; use Test::More tests => 16; use Test::Fatal; -use Test::NoWarnings; +use Test::NoWarnings 1.04 ':early'; { package MyRole; diff --git a/t/04-parameterized-roles.t b/t/04-parameterized-roles.t index af8b6ea..4c7c7dd 100644 --- a/t/04-parameterized-roles.t +++ b/t/04-parameterized-roles.t @@ -10,7 +10,7 @@ use Test::Requires { }; plan tests => 12; -use Test::NoWarnings; +use Test::NoWarnings 1.04 ':early'; eval <<'EOF'; package Role;