make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 101_argv_bug.t
index 6d75ad5..3de40e4 100644 (file)
@@ -1,9 +1,8 @@
-#!/usr/bin/env perl
-
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 3;
+use Test::More tests => 4;
+use Test::NoWarnings 1.04 ':early';
 
 use MooseX::Getopt;