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=e5ceae92017e7d9a1ec0afe0fd992c6096e2dd0a;hb=25eb430dc9dc0e223b0a8cddf555e0dc3bbd26aa;hpb=2557b52647dda5b9e090b324d950d4a55db74bae diff --git a/t/003_inferred_option_type.t b/t/003_inferred_option_type.t index e5ceae9..c9345c0 100644 --- a/t/003_inferred_option_type.t +++ b/t/003_inferred_option_type.t @@ -1,9 +1,8 @@ -#!/usr/bin/perl - use strict; -use warnings; +use warnings FATAL => 'all'; -use Test::More tests => 5; +use Test::More tests => 6; +use Test::Warnings; BEGIN { use_ok('MooseX::Getopt'); @@ -27,7 +26,6 @@ BEGIN { isa => 'ArrayOfInts', default => sub { [0] } ); - } {