X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F028-subclass-attr.t;h=9a4eabab827eed16609a55c853fe99a9c314e8bf;hb=2dac5cb06eec85c3c7ef6b745b746b136aa9ae98;hp=ca221d0b713af802f21872db67be1fe814b5c293;hpb=0eaf53c27a3ef11c0a515a91df229d10bf29b58d;p=gitmo%2FMouse.git diff --git a/t/028-subclass-attr.t b/t/028-subclass-attr.t index ca221d0..9a4eaba 100644 --- a/t/028-subclass-attr.t +++ b/t/028-subclass-attr.t @@ -26,10 +26,10 @@ my $obj = Child->new(class => 1, child => 1); ok($obj->child, "local attribute set in constructor"); ok($obj->class, "inherited attribute set in constructor"); -is_deeply([Child->meta->get_all_attributes], [ +is_deeply([sort(Child->meta->get_all_attributes)], [sort( Child->meta->get_attribute('child'), Class->meta->get_attribute('class'), -], "correct get_all_attributes"); +)], "correct get_all_attributes"); do { package Foo;