X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F009_gld_and_explicit_options.t;h=189a0c35264347917bbf0ca5b34fa5ce54c23b4c;hp=e81b300448721cb6ff0e0da829095b1014b98545;hb=b56c81234573df88729d5ce348bb460470abc4ff;hpb=0df9248ea02665c6ed613887a83ff6f0621fa66f diff --git a/t/009_gld_and_explicit_options.t b/t/009_gld_and_explicit_options.t index e81b300..189a0c3 100644 --- a/t/009_gld_and_explicit_options.t +++ b/t/009_gld_and_explicit_options.t @@ -3,15 +3,10 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 5; use Test::Exception; -BEGIN { - eval "use Getopt::Long::Descriptive;"; - plan skip_all => "Getopt::Long::Descriptive required for this test" if $@; - plan tests => 5; - use_ok('MooseX::Getopt'); -} +BEGIN { use_ok('MooseX::Getopt') } { package Testing::Foo; @@ -32,7 +27,7 @@ BEGIN { ); } -our @ARGV = qw(bar 10); +@ARGV = qw(--bar 10); my $foo; lives_ok {