fix Date::Simple req in t/cdbi-t/04-lazy.t
Matt S Trout [Tue, 11 Mar 2008 03:19:20 +0000 (03:19 +0000)]
t/cdbi-t/04-lazy.t

index 27e7ab5..f67201b 100644 (file)
@@ -119,7 +119,8 @@ warning_is {
 
 
 # Now again for inflated values
-{
+SKIP: {
+    skip "Requires Date::Simple", 5 unless eval "use Date::Simple; 1; ";
     Lazy->has_a(
         orp     => 'Date::Simple',
         inflate => sub { Date::Simple->new($_[0] . '-01-01') },