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=266ff8cfba4df3ce1f2a6e1546ec3a1eb23cf407;hp=189a0c35264347917bbf0ca5b34fa5ce54c23b4c;hb=630657d529277b7fb600febf001d8667d8e85184;hpb=84f85ea4261f96ab86bde19610658bba98588500 diff --git a/t/009_gld_and_explicit_options.t b/t/009_gld_and_explicit_options.t index 189a0c3..266ff8c 100644 --- a/t/009_gld_and_explicit_options.t +++ b/t/009_gld_and_explicit_options.t @@ -3,10 +3,15 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More; use Test::Exception; -BEGIN { use_ok('MooseX::Getopt') } +BEGIN { + eval 'use Getopt::Long::Descriptive;'; + plan skip_all => "Getopt::Long::Descriptive required for this test" if $@; + plan tests => 5; + use_ok('MooseX::Getopt'); +} { package Testing::Foo;