test array delegation edge cases
[gitmo/Moose.git] / t / 300_immutable / 002_apply_roles_to_immutable.t
index e373311..57d0c7f 100644 (file)
@@ -3,16 +3,15 @@
 use strict;
 use warnings;
 
-use Test::More tests => 4;
+use Test::More;
 use Test::Exception;
 
 
-
 {
     package My::Role;
     use Moose::Role;
-    
-    around 'baz' => sub { 
+
+    around 'baz' => sub {
         my $next = shift;
         'My::Role::baz(' . $next->(@_) . ')';
     };
@@ -21,10 +20,10 @@ use Test::Exception;
 {
     package Foo;
     use Moose;
-    
+
     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;