mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
Make all t/lib/Mo.pm tests use done_testing
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user