Skip to content

Commit

Permalink
Added dependency on Date::Calc to test. Closes #30 and RT#79790.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Oct 9, 2012
1 parent ae8bea3 commit b903e13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions t/utility/xl_parse_date.t
Expand Up @@ -12,10 +12,11 @@ use Excel::Writer::XLSX::Utility qw(xl_parse_date xl_parse_date_init);
use Test::More;


eval { require Date::Manip };
eval { require Date::Manip; require Date::Calc};

if ($@) {
plan skip_all => 'Date::Manip required to run optional tests.';
if ( $@ ) {
plan skip_all =>
'Date::Manip and Date::Calc required to run optional tests.';
}
else {
plan tests => 4;
Expand Down

0 comments on commit b903e13

Please sign in to comment.