make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 107_union_bug.t
index 270e3bf..653f012 100644 (file)
@@ -1,7 +1,8 @@
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 5;
+use Test::More tests => 6;
+use Test::NoWarnings 1.04 ':early';
 
 {
     package example;