X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F110_sort_usage_by_attr_order.t;h=c025680a32ae7153a9bc41be0aefe292ef6620df;hp=c424add4842aad39dd575ebd14abfdf918b298d3;hb=25eb430dc9dc0e223b0a8cddf555e0dc3bbd26aa;hpb=9fbb5be9dcf64475fb6f4d25807db1e952be2365 diff --git a/t/110_sort_usage_by_attr_order.t b/t/110_sort_usage_by_attr_order.t index c424add..c025680 100644 --- a/t/110_sort_usage_by_attr_order.t +++ b/t/110_sort_usage_by_attr_order.t @@ -8,13 +8,14 @@ # early), followed by options added by parent classes and roles, and then # options added by this class. -use strict; use warnings; +use strict; +use warnings FATAL => 'all'; use Test::More tests => 2; -use Test::NoWarnings 1.04 ':early'; +use Test::Warnings; { package MyClass; - use strict; use warnings; + use strict; use warnings FATAL => 'all'; use Moose; with 'MooseX::Getopt';