From: Karen Etheridge Date: Mon, 4 Feb 2013 18:24:46 +0000 (-0800) Subject: do not load MooseX::SimpleConfig unconditionally X-Git-Tag: 0.07~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-ConfigFromFile.git;a=commitdiff_plain;h=0864e862291e54904e7d7cb8d68ef3f99ba37339 do not load MooseX::SimpleConfig unconditionally --- diff --git a/ChangeLog b/ChangeLog index eee03ec..73771cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Revision history for Perl extension MooseX::ConfigFromFile + - fixed tests to not load optional dependencies + 0.06 2013-02-03 (Karen Etheridge) - the configfile attribute is now a Path::Tiny, not a Path::Class (coercions from strings are still supported, and now also from any other diff --git a/t/05_default_sub.t b/t/05_default_sub.t index 122c263..956bf6a 100644 --- a/t/05_default_sub.t +++ b/t/05_default_sub.t @@ -1,6 +1,7 @@ use strict; use warnings; +use Test::Requires 'MooseX::SimpleConfig'; # skip all if not reuqired use Test::More tests => 10; use Test::Fatal; use Test::Deep '!blessed'; diff --git a/t/06_path_tiny.t b/t/06_path_tiny.t index 24c45ae..3f88c70 100644 --- a/t/06_path_tiny.t +++ b/t/06_path_tiny.t @@ -1,6 +1,7 @@ use strict; use warnings; +use Test::Requires 'MooseX::SimpleConfig'; # skip all if not reuqired use Test::More tests => 5; use Test::NoWarnings 1.04 ':early'; use Path::Tiny 'path';