make all warnings fatal in tests
[gitmo/MooseX-Getopt.git] / t / 000_load.t
index a06573d..1f3cfb8 100644 (file)
@@ -1,9 +1,8 @@
-#!/usr/bin/perl
-
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
-use Test::More tests => 1;
+use Test::More tests => 2;
+use Test::NoWarnings 1.04 ':early';
 
 BEGIN {
     use_ok('MooseX::Getopt');