use warnings tester with fewer dependencies, issues
[gitmo/MooseX-Getopt.git] / t / 108_usage_attr.t
index cb2ff86..1cc26df 100644 (file)
@@ -3,12 +3,14 @@
 
 # This tests the fix (that fulfills the documentation claim).
 
-use strict; use warnings;
-use Test::More tests => 3;
+use strict;
+use warnings FATAL => 'all';
+use Test::More tests => 4;
+use Test::Warnings;
 
 {
     package MyClass;
-    use strict; use warnings;
+    use strict; use warnings FATAL => 'all';
     use Moose;
     with 'MooseX::Getopt';
 }