From: Moritz Onken Date: Sat, 13 Jun 2009 22:42:16 +0000 (+0200) Subject: test removed X-Git-Tag: 0.82~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54dff0c4b086569d7a213b3ca2f77e3b740dfb22;p=gitmo%2FMoose.git test removed --- diff --git a/t/040_type_constraints/035_type_class_meta.t b/t/040_type_constraints/035_type_class_meta.t deleted file mode 100644 index 67f0532..0000000 --- a/t/040_type_constraints/035_type_class_meta.t +++ /dev/null @@ -1,28 +0,0 @@ -use strict; -use Test::More tests => 1; - -{ -package Type; -use Moose; -} - -{ package - Signatures; - -use Moose; - -use Moose::Util::TypeConstraints; - -subtype CustomType => as class_type('Type'); -subtype CustomType2 => as 'Type'; - -has file => ( isa => 'CustomType', is => 'rw' ); -has file2 => ( isa => 'CustomType2', is => 'rw' ); -} - - -my $sig = new Signatures; -$sig->file(Type->new); - -is(ref $sig->meta->get_attribute('file')->type_constraint, 'Moose::Meta::TypeConstraint::Class'); -is(ref $sig->meta->get_attribute('file2')->type_constraint, 'Moose::Meta::TypeConstraint::Class'); \ No newline at end of file