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=718c6bdc803e4e3368fb297bf4c4a85b85eba0ff;hb=d03bd989b97597428b460d7f9a021e2931893fa0;hp=e37331192a1e5b400c968a400280c68abea2a878;hpb=f6bee6fe1d579dc3d2ed2952cce9a1556040c8e5;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 e373311..718c6bd 100644 --- a/t/300_immutable/002_apply_roles_to_immutable.t +++ b/t/300_immutable/002_apply_roles_to_immutable.t @@ -11,8 +11,8 @@ use Test::Exception; { package My::Role; use Moose::Role; - - around 'baz' => sub { + + around 'baz' => sub { my $next = shift; 'My::Role::baz(' . $next->(@_) . ')'; }; @@ -21,9 +21,9 @@ use Test::Exception; { package Foo; use Moose; - + sub baz { 'Foo::baz' } - + __PACKAGE__->meta->make_immutable(debug => 0); }