Skip to content

Commit

Permalink
Add done_testing to subtest to support Test::More 0.94.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Aug 3, 2012
1 parent e2b6f26 commit c03f4a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -3,6 +3,7 @@ Revision history for Perl extension App::Sqitch
0.82
- Now require Moose 2.0300, since MooseX::Role::Parameterized, which
requires Role::HasMessage, requires it, anyway,
- Fixed test failure in `t/pg.t` when running on Test::More 0.94.

0.81 2012-08-03T11:34:46Z
- Removed wayward `/l` from a regular expression, which breaks Perls
Expand Down
2 changes: 1 addition & 1 deletion t/pg.t
Expand Up @@ -981,7 +981,7 @@ subtest 'live database' => sub {
ok $pg->finish_work, 'Finish work';
ok !$txn, 'Should have committed a transaction';
$mock_dbh->unmock_all;

done_testing;
};

done_testing;
Expand Down

0 comments on commit c03f4a5

Please sign in to comment.