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,10 +9,12 @@ BEGIN {
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More tests => 2;
use Test::More;
use lib "$ENV{PERCONA_TOOLKIT_BRANCH}/t/lib/Mo";
{ package Clean; use Foo; }
is_deeply([ @Clean::ISA ], [], "Didn't mess with caller's ISA");
is(Clean->can('has'), undef, "Didn't export anything");
done_testing;