make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 101_argv_bug.t
index 3a38b15..3de40e4 100644 (file)
@@ -1,7 +1,8 @@
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 3;
+use Test::More tests => 4;
+use Test::NoWarnings 1.04 ':early';
 
 use MooseX::Getopt;