X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F003_inferred_option_type.t;h=c9345c07ef28fdc87d6bddb4e2fac29a7f0c18be;hp=965014b7b43d451b622c67c88a01e1248f1a1ae8;hb=25eb430dc9dc0e223b0a8cddf555e0dc3bbd26aa;hpb=9fbb5be9dcf64475fb6f4d25807db1e952be2365 diff --git a/t/003_inferred_option_type.t b/t/003_inferred_option_type.t index 965014b..c9345c0 100644 --- a/t/003_inferred_option_type.t +++ b/t/003_inferred_option_type.t @@ -1,8 +1,8 @@ use strict; -use warnings; +use warnings FATAL => 'all'; use Test::More tests => 6; -use Test::NoWarnings 1.04 ':early'; +use Test::Warnings; BEGIN { use_ok('MooseX::Getopt'); @@ -26,7 +26,6 @@ BEGIN { isa => 'ArrayOfInts', default => sub { [0] } ); - } {