Convert all tests to done_testing.
[gitmo/Moose.git] / t / 020_attributes / 022_legal_options_for_inheritance.t
index c44b7d1..ca21b6f 100644 (file)
@@ -2,8 +2,7 @@
 
 use strict;
 use warnings;
-use Test::More tests => 2;
-
+use Test::More;
 
 
 {
@@ -47,3 +46,5 @@ my ($legal_option) = grep {
 is($legal_option, 'my_legal_option',
   '... added my_legal_option as legal option for inheritance' );
 is($bar_attr->my_legal_option->(), 'Bar::B', '... overloaded my_legal_option');
+
+done_testing;