X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fstorage%2Ftxn.t;h=09260f0076466b72358e1d2423ca7f5743551e94;hp=4d46e5b9d0261837e50378c016dd6b8ec008a867;hb=8273e845426f0187b4ad6c4a1b42286fa09a648f;hpb=33eafbfd322ab48a2697c0ea9fadfb182fb22a36 diff --git a/t/storage/txn.t b/t/storage/txn.t index 4d46e5b..09260f0 100644 --- a/t/storage/txn.t +++ b/t/storage/txn.t @@ -112,7 +112,7 @@ for my $want (0,1) { die "$$ starts in txn!" if $s->storage->transaction_depth != 0; $s->txn_do ( sub { die "$$ not in txn!" if $s->storage->transaction_depth == 0; - $s->storage->dbh->do('SELECT 1') } + $s->storage->dbh->do('SELECT 1') } ); die "$$ did not finish txn!" if $s->storage->transaction_depth != 0; },