Make all t/lib/Mo.pm tests use done_testing

This commit is contained in:
Brian Fraser
2012-07-19 11:45:43 -03:00
parent 815b4ce961
commit ade6357157
9 changed files with 24 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ BEGIN {
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More tests => 4;
use Test::More;
use lib "$ENV{PERCONA_TOOLKIT_BRANCH}/t/lib/Mo";
use Bar;
@@ -22,3 +22,5 @@ is "@Bar::ISA", "Foo", 'Extends with multiple classes not supported';
ok 'Foo'->can('stuff'), 'Foo is loaded';
ok not('Bar'->can('buff')), 'Boo is not loaded';
done_testing;