Convert all tests to done_testing.
[gitmo/Moose.git] / t / 040_type_constraints / 032_throw_error.t
index 2d15a06..662d327 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More;
 
 use Moose::Util::TypeConstraints;
 
@@ -10,3 +10,5 @@ eval { Moose::Util::TypeConstraints::create_type_constraint_union() };
 
 like( $@, qr/\QYou must pass in at least 2 type names to make a union/,
       'can throw a proper error without Moose being loaded by the caller' );
+
+done_testing;