X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F96_is_deteministic_value.t;h=9f75f4d115d26adbe183a9675b776ba79060e31f;hb=d7a58a293db88796ae70bbfaad9edae9fd94abd0;hp=6e04252dd9bb79968b42788413e36fd54755af09;hpb=561f003c5b971a8156d1932d34dad8c05d730fb4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/96_is_deteministic_value.t b/t/96_is_deteministic_value.t index 6e04252..9f75f4d 100644 --- a/t/96_is_deteministic_value.t +++ b/t/96_is_deteministic_value.t @@ -3,11 +3,13 @@ use warnings; # 6 tests -use Test::More qw(no_plan); +use Test::More; use lib qw(t/lib); use DBICTest; -use DateTime; -use DateTime::Format::Strptime; +plan skip_all => "DateTime required" unless eval { require DateTime }; +eval "use DateTime::Format::Strptime"; +plan skip_all => 'DateTime::Format::Strptime required' if $@; +plan 'no_plan'; use Test::Exception; my $schema = DBICTest->init_schema();