From: Michael G Schwern Date: Fri, 7 Mar 2008 16:05:35 +0000 (+0000) Subject: Fix the skip for DBD::Multi X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d663c981c4d76423af3cfa9ff58decbfd4819380;p=dbsrgits%2FDBIx-Class-Historic.git Fix the skip for DBD::Multi --- diff --git a/t/93storage_replication.t b/t/93storage_replication.t index 34c0f48..81135dd 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -7,8 +7,7 @@ use File::Copy; use DBICTest; use Test::More; -eval {use DBD::Multi}; -plan skip_all => 'No DBD::Multi' if ($@); +plan skip_all => 'No DBD::Multi' unless eval { require DBD::Multi }; plan tests => 3;