Made the delegation closure have useful error trace information.
[gitmo/Moose.git] / t / 040_type_constraints / 010_misc_type_tests.t
index 2cf0985..65987b6 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 11;
+use Test::More;
 use Test::Exception;
 
 BEGIN {
@@ -65,3 +65,5 @@ ok $subtype2 => 'made a subtype of our subtype';
         "correct error thrown"
     );
 }
+
+done_testing;