Convert all tests to done_testing.
[gitmo/Moose.git] / t / 010_basics / 009_import_unimport.t
index 08e0ced..fcf15d0 100644 (file)
@@ -3,12 +3,12 @@
 use strict;
 use warnings;
 
-use Test::More tests => 41;
+use Test::More;
 
 
 my @moose_exports = qw(
-    extends with 
-    has 
+    extends with
+    has
     before after around
     override
     augment
@@ -36,8 +36,8 @@ ok(!Foo->can($_), '... Foo can no longer do ' . $_) for @moose_exports;
 # and check the type constraints as well
 
 my @moose_type_constraint_exports = qw(
-    type subtype as where message 
-    coerce from via 
+    type subtype as where message
+    coerce from via
     enum
     find_type_constraint
 );
@@ -71,3 +71,5 @@ ok(!Bar->can($_), '... Bar can no longer do ' . $_) for @moose_type_constraint_e
 }
 
 can_ok( 'Baz', 'blessed' );
+
+done_testing;