add test counts, obviating done_testing
[gitmo/MooseX-Getopt.git] / t / 011_process_argv.t
index c070d54..2a7baf3 100644 (file)
@@ -1,18 +1,9 @@
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More tests => 6;
 use Test::Fatal 0.003;
-
-if ( !eval { require Test::Deep } )
-{
-    plan skip_all => 'Test requires Test::Deep';
-    exit;
-}
-else
-{
-    plan tests => 6;
-}
+use Test::Requires 'Test::Deep';
 
 {
     package Testing::Foo;