Subject: | test failures due to out-of-scope "plan"s |
Hi. t/cdbi-t-ocache/25-closures_in_meta.t and t/cdbi-t-rescache/25-
closures_in_meta.t fails due to out-of-scope "plan skip_all"s. A patch
to fix attached.
By the way, removed (and remained) messages say "needs Cache::Cache for
testing". Should they actually be/have been "needs Cache::MemoryCache
..."?
Cheers.
Subject: | Class-DBI-Sweet-0.09.patch |
diff -ur Class-DBI-Sweet-0.09/t/cdbi-t-ocache/25-closures_in_meta.t Class-DBI-Sweet-0.09-patched/t/cdbi-t-ocache/25-closures_in_meta.t
--- Class-DBI-Sweet-0.09/t/cdbi-t-ocache/25-closures_in_meta.t 2007-12-24 17:05:40.000000000 +0900
+++ Class-DBI-Sweet-0.09-patched/t/cdbi-t-ocache/25-closures_in_meta.t 2008-01-26 15:35:20.875375000 +0900
@@ -21,7 +21,6 @@
BEGIN {
eval "use Cache::MemoryCache";
- plan skip_all => "needs Cache::Cache for testing" if $@;
eval { require 't/cdbi-t/testlib/MyBase.pm' };
}
use base 'MyBase';
diff -ur Class-DBI-Sweet-0.09/t/cdbi-t-rescache/25-closures_in_meta.t Class-DBI-Sweet-0.09-patched/t/cdbi-t-rescache/25-closures_in_meta.t
--- Class-DBI-Sweet-0.09/t/cdbi-t-rescache/25-closures_in_meta.t 2007-12-24 17:05:40.000000000 +0900
+++ Class-DBI-Sweet-0.09-patched/t/cdbi-t-rescache/25-closures_in_meta.t 2008-01-26 15:35:29.969125000 +0900
@@ -21,7 +21,6 @@
BEGIN {
eval "use Cache::MemoryCache";
- plan skip_all => "needs Cache::Cache for testing" if $@;
eval { require 't/cdbi-t/testlib/MyBase.pm' };
}
use base 'MyBase';