use Test::Exception instead of eval { }
[gitmo/Moose.git] / t / 300_immutable / 002_apply_roles_to_immutable.t
index e373311..7976635 100644 (file)
@@ -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,10 +21,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;