Convert all tests to done_testing.
[gitmo/Moose.git] / t / 020_attributes / 018_no_init_arg.t
index ae714ec..e5ea6c2 100644 (file)
@@ -3,17 +3,15 @@
 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More;
 use Test::Exception;
 
-BEGIN {
-    use_ok('Moose');           
-}
+
 
 {
     package Foo;
     use Moose;
-    
+
     eval {
         has 'foo' => (
             is => "rw",
@@ -33,3 +31,5 @@ BEGIN {
 
     is( $foo->foo, "blah", "field is set via setter" );
 }
+
+done_testing;