X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F040_type_constraints%2F010_misc_type_tests.t;h=779bcf3f8f9fa959f2e05f5e6f2f0d6d2917c8c2;hb=817660201c58e0d4a697bfe2d0f65781622318d7;hp=adbd0db6e2f8c49879719fdcb27e2a0b68d70ce1;hpb=79135d0959bbe76b322d8a9fcf2900f7c3a508b4;p=gitmo%2FMoose.git diff --git a/t/040_type_constraints/010_misc_type_tests.t b/t/040_type_constraints/010_misc_type_tests.t index adbd0db..779bcf3 100644 --- a/t/040_type_constraints/010_misc_type_tests.t +++ b/t/040_type_constraints/010_misc_type_tests.t @@ -47,18 +47,3 @@ ok $subtype1 => 'made a subtype from our type object'; my $subtype2 = subtype 'New2' => as $subtype1; ok $subtype2 => 'made a subtype of our subtype'; - -# testing the parameterize method - -{ - package Test::Moose::Meta::TypeConstraint::Parameterizable; - - use Moose; - use Moose::Util::TypeConstraints; - - my $parameterizable = subtype 'parameterizable_hashref', - as 'HashRef'; - - my $parameterized = subtype 'parameterized_hashref', - as 'HashRef[Int]'; -} \ No newline at end of file