From: Peter Rabbitson Date: Fri, 7 Aug 2009 09:07:14 +0000 (+0000) Subject: Switch to done_testing X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6988233db06abf237e175ced2beeb697630e046d;p=dbsrgits%2FDBIx-Class-Historic.git Switch to done_testing --- diff --git a/t/93storage_replication.t b/t/93storage_replication.t index 45b59c5..1cd2d90 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -11,9 +11,7 @@ use IO::Handle; BEGIN { eval "use DBIx::Class::Storage::DBI::Replicated; use Test::Moose"; - plan $@ - ? ( skip_all => "Deps not installed: $@" ) - : ( tests => 132 ); + plan skip_all => "Deps not installed: $@" if $@; } use_ok 'DBIx::Class::Storage::DBI::Replicated::Pool'; @@ -850,4 +848,6 @@ is $debug{storage_type}, 'REPLICANT', "got last query from a replicant: $debug{d ## Delete the old database files $replicated->cleanup; +done_testing; + # vim: sw=4 sts=4 :