X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftype_constraints%2Fsubtyping_union_types.t;h=9b1326348690e040a603075664c8fbd5c13c7fae;hb=28fdde7f8f44efabb7e98379cc3ad0d812f3a66a;hp=9b3ae246aa205a0303fed4c35a8f87492b71ea5f;hpb=ff302066821a9482875e79cfcd4e5a5c7ae305ee;p=gitmo%2FMoose.git diff --git a/t/type_constraints/subtyping_union_types.t b/t/type_constraints/subtyping_union_types.t index 9b3ae24..9b13263 100644 --- a/t/type_constraints/subtyping_union_types.t +++ b/t/type_constraints/subtyping_union_types.t @@ -6,9 +6,7 @@ use warnings; use Test::More; use Test::Fatal; -BEGIN { - use_ok("Moose::Util::TypeConstraints"); -} +use Moose::Util::TypeConstraints; is( exception { subtype 'MyCollections' => as 'ArrayRef | HashRef';