From: Karen Etheridge Date: Tue, 5 Feb 2013 17:26:04 +0000 (-0800) Subject: fix incorrect prereq declaration X-Git-Tag: v0.53~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14cb82caf70efcf0275fd296a0eba38bd04c7e74;p=gitmo%2FMooseX-Getopt.git fix incorrect prereq declaration --- diff --git a/Changes b/Changes index a1bcf84..77e6460 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Perl extension MooseX-Getopt {{$NEXT}} + - properly indicate optional dependency in tests using + MooseX::ConfigFromFile 0.52 2013-02-02 19:01:25 PST-0800 - tests converted from using Path::Class to Path::Tiny diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index 9373d0f..7cf5887 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::Requires 'MooseX::ConfigFromFile' => '0.06'; # skip all if not installed +use Test::Requires { 'MooseX::ConfigFromFile' => '0.06' }; # skip all if not installed use Test::More tests => 38; use Test::Fatal; use Path::Tiny;