X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F028-subclass-attr.t;fp=t%2F028-subclass-attr.t;h=9a4eabab827eed16609a55c853fe99a9c314e8bf;hb=ad022aac12ce95ee336af9dde0758ae98037f3ab;hp=ca221d0b713af802f21872db67be1fe814b5c293;hpb=6cfa1e5e70616fb102915489c02d8347ffa912fb;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;