X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F300_immutable%2F002_apply_roles_to_immutable.t;h=57d0c7f30b6e0c0f7036407f005d6c1dc1c744d8;hb=06d16be025b59d5bb71c237c6ab27c6053c2b615;hp=718c6bdc803e4e3368fb297bf4c4a85b85eba0ff;hpb=d03bd989b97597428b460d7f9a021e2931893fa0;p=gitmo%2FMoose.git diff --git a/t/300_immutable/002_apply_roles_to_immutable.t b/t/300_immutable/002_apply_roles_to_immutable.t index 718c6bd..57d0c7f 100644 --- a/t/300_immutable/002_apply_roles_to_immutable.t +++ b/t/300_immutable/002_apply_roles_to_immutable.t @@ -3,11 +3,10 @@ use strict; use warnings; -use Test::More tests => 4; +use Test::More; use Test::Exception; - { package My::Role; use Moose::Role; @@ -24,7 +23,7 @@ use Test::Exception; sub baz { 'Foo::baz' } - __PACKAGE__->meta->make_immutable(debug => 0); + __PACKAGE__->meta->make_immutable(debug => 0); } my $foo = Foo->new; @@ -38,4 +37,4 @@ lives_ok { is($foo->baz, 'My::Role::baz(Foo::baz)', '... got the right value'); - +done_testing;