Convert all tests to done_testing.
[gitmo/Moose.git] / t / 020_attributes / 006_attribute_required.t
index 4f65021..5df07cc 100644 (file)
@@ -3,12 +3,9 @@
 use strict;
 use warnings;
 
-use Test::More tests => 16;
+use Test::More;
 use Test::Exception;
 
-BEGIN {
-    use_ok('Moose');
-}
 
 {
     package Foo;
@@ -68,3 +65,4 @@ throws_ok {
     Foo->new;
 } qr/^Attribute \(bar\) is required/, '... must supply all the required attribute';
 
+done_testing;