From: Marcus Ramberg Date: Fri, 27 Jan 2006 17:19:18 +0000 (+0000) Subject: oops, botched one X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c910d6a2ea74d699084ffd0345962ebd63a10c80;p=dbsrgits%2FDBIx-Class-Historic.git oops, botched one --- diff --git a/t/cdbi-t/03-subclassing.t b/t/cdbi-t/03-subclassing.t index fe42785..9dc689b 100644 --- a/t/cdbi-t/03-subclassing.t +++ b/t/cdbi-t/03-subclassing.t @@ -1,18 +1,18 @@ use strict; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => 'Class::Trigger and DBIx::ContextualFetch required') : (tests=> 24); -} - #---------------------------------------------------------------------- # Make sure subclasses can be themselves subclassed #---------------------------------------------------------------------- BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 6); + eval "use DBIx::Class::CDBICompat;"; + if ($@) { + plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); + next; + } + eval "use DBD::SQLite"; + plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 6); } use lib 't/testlib';