use warnings tester with fewer dependencies, issues
[gitmo/MooseX-Getopt.git] / t / 007_nogetopt_trait.t
index 0088983..75a5c88 100644 (file)
@@ -1,10 +1,9 @@
-#!/usr/bin/perl
-
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 9;
+use Test::More tests => 10;
 use Test::Fatal;
+use Test::Warnings;
 
 BEGIN {
     use_ok('MooseX::Getopt');
@@ -78,7 +77,6 @@ BEGIN {
         default   => 832,
         cmd_flag  => 'p',
     );
-
 }
 
 {