X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F020_attributes%2F008_attribute_type_unions.t;h=86dfbcf462a7c22efc3754c8dde0e7bb08781fca;hb=d03bd989b97597428b460d7f9a021e2931893fa0;hp=95ce5f9a877f03b6ea4e31dc32f7fb7bf73a413c;hpb=f6bee6fe1d579dc3d2ed2952cce9a1556040c8e5;p=gitmo%2FMoose.git diff --git a/t/020_attributes/008_attribute_type_unions.t b/t/020_attributes/008_attribute_type_unions.t index 95ce5f9..86dfbcf 100644 --- a/t/020_attributes/008_attribute_type_unions.t +++ b/t/020_attributes/008_attribute_type_unions.t @@ -11,7 +11,7 @@ use Test::Exception; { package Foo; use Moose; - + has 'bar' => (is => 'rw', isa => 'ArrayRef | HashRef'); } @@ -55,7 +55,7 @@ dies_ok { { package Bar; use Moose; - + has 'baz' => (is => 'rw', isa => 'Str | CodeRef'); }