X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F109_help_flag.t;h=15b6ac1b2b1cd9f03db40be54788db2d4df42df5;hp=33390de61a6bb6069408a608fe267a7d7fd4627f;hb=25eb430dc9dc0e223b0a8cddf555e0dc3bbd26aa;hpb=9fbb5be9dcf64475fb6f4d25807db1e952be2365 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'; }