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

@@ -11,8 +11,6 @@ use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More;
plan tests => 2;
package Foo::coerce;
use Mo;
@@ -24,3 +22,6 @@ my $f = Foo::coerce->new(stuff => 'fubar');
is $f->stuff, 'FUBAR', 'values passed to constructor are successfully coerced';
$f->stuff('barbaz');
is $f->stuff, 'BARBAZ', 'values passed to setters are successfully coerced';
done_testing;