make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 100_gld_default_bug.t
index 85e10e3..54312f2 100644 (file)
@@ -1,12 +1,10 @@
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use Test::More tests => 6;
 use Test::NoWarnings 1.04 ':early';
 
-use Test::Requires {
-    'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
-};
+use Getopt::Long::Descriptive;
 
 use_ok('MooseX::Getopt');