Revert autogenerated tests. Tests should not changed radically.
[gitmo/Mouse.git] / t / 040_type_constraints / failing / 031_subtype_auto_vivify_parent.t
@@ -1,12 +1,9 @@
 #!/usr/bin/perl
-# This is automatically generated by author/import-moose-test.pl.
-# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
-use t::lib::MooseCompat;
 
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More tests => 4;
 
 use Mouse::Util::TypeConstraints;
 
@@ -30,7 +27,5 @@ my $type = find_type_constraint('FooWithSize');
 ok( $type,         'made a FooWithSize constraint' );
 ok( $type->parent, 'type has a parent type' );
 is( $type->parent->name, 'Foo', 'parent type is Foo' );
-isa_ok( $type->parent, 'Mouse::Meta::TypeConstraint',
+isa_ok( $type->parent, 'Mouse::Meta::TypeConstraint::Class',
         'parent type constraint is a class type' );
-
-done_testing;