make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 109_help_flag.t
index 33390de..a9b8756 100644 (file)
 
 # Update: since 0.41, usage info is printed to stdout, not stderr.
 
-use strict; use warnings;
+use strict; use warnings FATAL => 'all';
 use Test::More tests => 23;
 use Test::NoWarnings 1.04 ':early';
 use Test::Trap;
 
 {
     package MyClass;
-    use strict; use warnings;
+    use strict; use warnings FATAL => 'all';
     use Moose;
     with 'MooseX::Getopt';
 }