X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746db2_400.t;h=3a5d902f8fa79292d7947775c97cebc3a2ff53ab;hb=f892e7e4289b61f20b21bf9266eff65f93d5cd0c;hp=29d16e1c3d70735308c4f65ee3431da76c255096;hpb=199fbc453ec03891d0e156d7353c5e992ba4de47;p=dbsrgits%2FDBIx-Class.git diff --git a/t/746db2_400.t b/t/746db2_400.t index 29d16e1..3a5d902 100644 --- a/t/746db2_400.t +++ b/t/746db2_400.t @@ -76,7 +76,7 @@ my $test_type_info = { 'charfield' => { 'data_type' => 'CHAR', 'is_nullable' => 1, - 'size' => 10 + 'size' => 10 }, }; @@ -86,6 +86,7 @@ is_deeply($type_info, $test_type_info, 'columns_info_for - column data types'); # clean up our mess END { - my $dbh = eval { $schema->storage->_dbh }; - $dbh->do("DROP TABLE artist") if $dbh; + my $dbh = eval { $schema->storage->_dbh }; + $dbh->do("DROP TABLE artist") if $dbh; + undef $schema; }