From: Stevan Little Date: Fri, 6 Apr 2007 16:06:35 +0000 (+0000) Subject: i am stupid X-Git-Tag: 0_21~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a60285b3a7a02488121a75cbce00c3fba230de70;p=gitmo%2FMoose.git i am stupid --- diff --git a/Changes b/Changes index 36abd82..0fa902e 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,9 @@ Revision history for Perl extension Moose 0.20 + >> I messed up the SKIP logic in one test + so this release is just to fix that. + * Moose - 'has' now also accepts an ARRAY ref to create multiple attrs (see docs) diff --git a/t/202_example_Moose_POOP.t b/t/202_example_Moose_POOP.t index bdd6f1a..1c3c4bc 100644 --- a/t/202_example_Moose_POOP.t +++ b/t/202_example_Moose_POOP.t @@ -6,10 +6,12 @@ use warnings; use Test::More; BEGIN { - eval "use DBM::Deep 0.983; use DateTime::Format::MySQL;"; - if ($@ && DBM::Deep->VERSION < 1.0) { - plan skip_all => "DBM::Deep (< 1.0) and DateTime::Format::MySQL required for this test"; - } + eval "use DBM::Deep 0.983;"; + plan skip_all => "DBM::Deep is required for this test" if $@; + plan skip_all => "DBM::Deep (>= 1.0) is required for this test" + if DBM::Deep->VERSION >= 1.0; + eval "use DateTime::Format::MySQL;"; + plan skip_all => "DateTime::Format::MySQL is required for this test" if $@; plan tests => 89; }