We need to say new -> _new? what's the better way of doing this?
[gitmo/Moose.git] / t / 040_type_constraints / 010_misc_type_tests.t
index adbd0db..866c920 100644 (file)
@@ -7,7 +7,7 @@ use Test::More tests => 8;
 use Test::Exception;
 
 BEGIN {
-    use_ok('Moose::Util::TypeConstraints');           
+    use_ok('Moose::Util::TypeConstraints');
 }
 
 # subtype 'aliasing' ...
@@ -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