X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F108_usage_attr.t;h=1cc26df9779a66423dad0f06d9b976bf64e32388;hp=cb2ff86187c7ab4284a789a5463cc42b69fea780;hb=25eb430dc9dc0e223b0a8cddf555e0dc3bbd26aa;hpb=da7b9880cfa75cdc3f3a4903e9ed7bfc86b534a3 diff --git a/t/108_usage_attr.t b/t/108_usage_attr.t index cb2ff86..1cc26df 100644 --- a/t/108_usage_attr.t +++ b/t/108_usage_attr.t @@ -3,12 +3,14 @@ # This tests the fix (that fulfills the documentation claim). -use strict; use warnings; -use Test::More tests => 3; +use strict; +use warnings FATAL => 'all'; +use Test::More tests => 4; +use Test::Warnings; { package MyClass; - use strict; use warnings; + use strict; use warnings FATAL => 'all'; use Moose; with 'MooseX::Getopt'; }