fix test warning
[gitmo/Moose.git] / t / 100_bugs / 010_immutable_n_default_x2.t
index e5d3b19..b25f908 100644 (file)
@@ -3,11 +3,8 @@
 use strict;
 use warnings;
 
-use Test::More tests => 3;
+use Test::More;
 
-BEGIN {
-    use_ok('Moose');
-}
 
 {
     package Foo;
@@ -40,3 +37,5 @@ is($Foo::foo_default_called, 1, "foo default was only called once during constru
 $foo->bar();
 
 is($Foo::bar_default_called, 1, "bar default was only called once when lazy attribute is accessed");
+
+done_testing;