Skip Menu |
 

This queue is for tickets about the Class-DBI-Sweet CPAN distribution.

Report information
The Basics
Id: 32673
Status: resolved
Priority: 0/
Queue: Class-DBI-Sweet

People
Owner: Nobody in particular
Requestors: ishigaki [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: test failures due to out-of-scope "plan"s
Download (untitled) / with headers
text/plain 317b
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';
Patch applied in 0.11


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.