Improve Number trait tests
[gitmo/Moose.git] / t / 030_roles / 016_runtime_roles_and_nonmoose.t
index 056aef7..ec4e657 100644 (file)
@@ -3,14 +3,10 @@
 use strict;
 use warnings;
 
-use Test::More tests => 8;
+use Test::More;
 use Test::Exception;
 use Scalar::Util 'blessed';
 
-BEGIN {
-    use_ok('Moose');
-}
-
 
 {
     package Dog;
@@ -36,10 +32,10 @@ BEGIN {
 }
 
 my $bar = Bar->new;
-isa_ok($bar, 'Bar');    
+isa_ok($bar, 'Bar');
 
 my $foo = Foo->new;
-isa_ok($foo, 'Foo');  
+isa_ok($foo, 'Foo');
 
 ok(!$bar->can( 'talk' ), "... the role is not composed yet");
 
@@ -57,3 +53,4 @@ lives_ok {
     $foo->dog($bar)
 } '... and setting the accessor is okay';
 
+done_testing;