X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F109_help_flag.t;h=15b6ac1b2b1cd9f03db40be54788db2d4df42df5;hb=986fb4690bc00c860b1f728b986e39b412100854;hp=33390de61a6bb6069408a608fe267a7d7fd4627f;hpb=9fbb5be9dcf64475fb6f4d25807db1e952be2365;p=gitmo%2FMooseX-Getopt.git diff --git a/t/109_help_flag.t b/t/109_help_flag.t index 33390de..15b6ac1 100644 --- a/t/109_help_flag.t +++ b/t/109_help_flag.t @@ -16,14 +16,15 @@ # Update: since 0.41, usage info is printed to stdout, not stderr. -use strict; use warnings; +use strict; +use warnings FATAL => 'all'; use Test::More tests => 23; -use Test::NoWarnings 1.04 ':early'; +use Test::Warnings; use Test::Trap; { package MyClass; - use strict; use warnings; + use strict; use warnings FATAL => 'all'; use Moose; with 'MooseX::Getopt'; }