use File::Spec;
use Test::NoWarnings 1.04 ':early';
-use Test::Requires {
- 'MooseX::ConfigFromFile' => 0.01, # skip all if not installed
-};
+use Test::Requires 'MooseX::ConfigFromFile';
{
package App;
use Test::Fatal;
use Test::NoWarnings 1.04 ':early';
-use Test::Requires {
- 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
-};
+use Test::Requires 'Getopt::Long::Descriptive';
use_ok('MooseX::Getopt');
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
-use Test::Requires {
- 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
-};
+use Test::Requires 'Getopt::Long::Descriptive';
use_ok('MooseX::Getopt');
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
-use Test::Requires {
- 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
-};
+use Test::Requires 'Getopt::Long::Descriptive';
use_ok('MooseX::Getopt::GLD');