don't initialize lazy attrs with defaults in the constructor (mo)
[gitmo/Moose.git] / t / 040_type_constraints / 011_container_type_constraint.t
index 10b8ec9..17ebe3d 100644 (file)
@@ -3,12 +3,11 @@
 use strict;
 use warnings;
 
-use Test::More tests => 24;
-use Test::Exception;
+use Test::More;
 
-BEGIN {    
-    use_ok('Moose::Util::TypeConstraints');               
-    use_ok('Moose::Meta::TypeConstraint::Parameterized');               
+BEGIN {
+    use_ok('Moose::Util::TypeConstraints');
+    use_ok('Moose::Meta::TypeConstraint::Parameterized');
 }
 
 # Array of Ints
@@ -71,3 +70,5 @@ ok(!$array_of_array_of_ints->check(
     my $param_type = $anon_type->type_parameter;
     isa_ok( $param_type, 'Moose::Meta::TypeConstraint::Class' );
 }
+
+done_testing;