make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 010_dashes.t
index 87f49dd..68f9a34 100644 (file)
@@ -1,8 +1,9 @@
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 7;
+use Test::More tests => 8;
 use Test::Fatal;
+use Test::NoWarnings 1.04 ':early';
 
 
 BEGIN {