remove trailing whitespace
[gitmo/Moose.git] / t / 300_immutable / 002_apply_roles_to_immutable.t
index e4e0c3e..718c6bd 100644 (file)
@@ -3,18 +3,16 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More tests => 4;
 use Test::Exception;
 
-BEGIN {
-    use_ok('Moose');
-}
+
 
 {
     package My::Role;
     use Moose::Role;
-    
-    around 'baz' => sub { 
+
+    around 'baz' => sub {
         my $next = shift;
         'My::Role::baz(' . $next->(@_) . ')';
     };
@@ -23,9 +21,9 @@ BEGIN {
 {
     package Foo;
     use Moose;
-    
+
     sub baz { 'Foo::baz' }
-    
+
        __PACKAGE__->meta->make_immutable(debug => 0);
 }