From: Jesse Luehrs Date: Sat, 17 Sep 2011 19:05:01 +0000 (-0500) Subject: parents returns a list X-Git-Tag: 2.0300~40 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=74cd1c847406986fadde66dba6b7ed9f4e863631;p=gitmo%2FMoose.git parents returns a list --- diff --git a/t/type_constraints/union_types.t b/t/type_constraints/union_types.t index 58dddfc..1aa151a 100644 --- a/t/type_constraints/union_types.t +++ b/t/type_constraints/union_types.t @@ -81,9 +81,9 @@ is( 'parent of Str|Undef is Item' ); -is( - $Str_or_Undef->parents, - find_type_constraint('Item'), +is_deeply( + [$Str_or_Undef->parents], + [find_type_constraint('Item')], 'parents of Str|Undef is Item' );