X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ficdt%2Fengine_specific%2Fmsaccess.t;h=8f304ca2bf804809c3c53b5e91184dfe2a8f654d;hb=e2741c7fd695dca054614f297b01d351a45bbf38;hp=a3cb63c837b48f2e971d523724019771dc90727d;hpb=c0329273268971824784f239f32c7246e68da9c5;p=dbsrgits%2FDBIx-Class.git diff --git a/t/icdt/engine_specific/msaccess.t b/t/icdt/engine_specific/msaccess.t index a3cb63c..8f304ca 100644 --- a/t/icdt/engine_specific/msaccess.t +++ b/t/icdt/engine_specific/msaccess.t @@ -5,7 +5,6 @@ use strict; use warnings; use Test::More; -use Try::Tiny; use DBIx::Class::_Util 'scope_guard'; use DBICTest; @@ -39,7 +38,7 @@ for my $connect_info (@connect_info) { my $guard = scope_guard { cleanup($schema) }; - try { local $^W = 0; $schema->storage->dbh->do('DROP TABLE track') }; + eval { local $^W = 0; $schema->storage->dbh->do('DROP TABLE track') }; $schema->storage->dbh->do(<<"SQL"); CREATE TABLE track ( trackid AUTOINCREMENT PRIMARY KEY,