X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F003_inheriting_meta_desc.t;h=c6833cfaaeaf22fc6ec65a5623c2f8434bd12c2c;hb=c2ee66fee5f503ef3c08fb93975ddef34c172ea7;hp=0419d3a7de98640e83be49783621bd761fc33ffa;hpb=55e9fc1b72bb8293dcec38e96eb00b469cba90f9;p=gitmo%2FMooseX-MetaDescription.git diff --git a/t/003_inheriting_meta_desc.t b/t/003_inheriting_meta_desc.t index 0419d3a..c6833cf 100644 --- a/t/003_inheriting_meta_desc.t +++ b/t/003_inheriting_meta_desc.t @@ -66,7 +66,7 @@ is($baz_attr->metadescription->descriptor, $baz_attr, '... got the circular ref' isa_ok($baz_attr->metadescription, 'MooseX::MetaDescription::Description'); is($baz_attr->metadescription->descriptor, $baz_attr, '... got the circular ref'); - my ($bar_attr_2, $baz_attr_2) = Bar->meta->get_all_attributes; + my ($bar_attr_2, $baz_attr_2) = sort { $a->name cmp $b->name } Bar->meta->get_all_attributes; is($bar_attr, $bar_attr_2, '... got the same attribute'); is($baz_attr, $baz_attr_2, '... got the same attribute'); }