use warnings tester with fewer dependencies, issues
[gitmo/MooseX-Getopt.git] / t / 009_gld_and_explicit_options.t
index c095bdd..19320f0 100644 (file)
@@ -1,14 +1,11 @@
-#!/usr/bin/perl
-
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 5;
+use Test::More tests => 6;
 use Test::Fatal;
+use Test::Warnings;
 
-use Test::Requires {
-    'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
-};
+use Getopt::Long::Descriptive;
 
 use_ok('MooseX::Getopt');