remove trailing whitespace
[gitmo/Moose.git] / t / 020_attributes / 015_attribute_traits.t
index 0cb44fd..fc40435 100644 (file)
@@ -3,26 +3,24 @@
 use strict;
 use warnings;
 
-use Test::More tests => 13;
+use Test::More tests => 12;
 use Test::Exception;
 use Test::Moose;
 
-BEGIN {
-    use_ok('Moose');
-}
+
 
 {
     package My::Attribute::Trait;
     use Moose::Role;
-    
+
     has 'alias_to' => (is => 'ro', isa => 'Str');
 
     has foo => ( is => "ro", default => "blah" );
-    
+
     after 'install_accessors' => sub {
         my $self = shift;
         $self->associated_class->add_method(
-            $self->alias_to, 
+            $self->alias_to,
             $self->get_read_method_ref
         );
     };
@@ -31,19 +29,19 @@ BEGIN {
 {
     package My::Class;
     use Moose;
-    
+
     has 'bar' => (
         traits   => [qw/My::Attribute::Trait/],
         is       => 'ro',
         isa      => 'Int',
         alias_to => 'baz',
     );
-    
+
     has 'gorch' => (
         is      => 'ro',
         isa     => 'Int',
         default => sub { 10 }
-    );    
+    );
 }
 
 my $c = My::Class->new(bar => 100);