[Bast-commits] r4192 -
DBIx-Class/0.08/trunk/t/cdbi-DeepAbstractSearch
schwern at dev.catalyst.perl.org
schwern at dev.catalyst.perl.org
Thu Mar 13 19:04:14 GMT 2008
Author: schwern
Date: 2008-03-13 19:04:13 +0000 (Thu, 13 Mar 2008)
New Revision: 4192
Modified:
DBIx-Class/0.08/trunk/t/cdbi-DeepAbstractSearch/01_search.t
Log:
Make this test depend on having DeepAbstractSearch installed.
Modified: DBIx-Class/0.08/trunk/t/cdbi-DeepAbstractSearch/01_search.t
===================================================================
--- DBIx-Class/0.08/trunk/t/cdbi-DeepAbstractSearch/01_search.t 2008-03-13 19:03:40 UTC (rev 4191)
+++ DBIx-Class/0.08/trunk/t/cdbi-DeepAbstractSearch/01_search.t 2008-03-13 19:04:13 UTC (rev 4192)
@@ -2,9 +2,13 @@
use Test::More;
BEGIN {
- eval "use DBD::SQLite";
- plan $@ ? (skip_all => 'needs DBD::SQLite for testing')
- : (tests => 19);
+ plan skip_all => 'needs DBD::SQLite for testing'
+ unless eval { require DBD::SQLite };
+
+ plan skip_all => 'needs Class::DBI::Plugin::DeepAbstractSearch'
+ unless eval { require Class::DBI::Plugin::DeepAbstractSearch };
+
+ plan tests => 19;
}
my $DB = "t/testdb";
More information about the Bast-commits
mailing list