Browse files

Add `done_testing` to subtest to support Test::More 0.94.

  • Loading branch information...
1 parent e2b6f26 commit c03f4a5afb0aecd582202a3b8cfb26e0e473c54e @theory committed Aug 3, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 Changes
  2. +1 −1 t/pg.t
View
1 Changes
@@ -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
View
2 t/pg.t
@@ -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;

0 comments on commit c03f4a5

Please sign in to comment.