X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F018-multiattr-has.t;h=8458e89041550a1916d285b278797966231fc450;hb=c9313657717f78bd96f0325c6aa1c93d0b0d41a5;hp=acd258be2ae558bf056657c6576324de3047b11a;hpb=9ca3f17580caa4ac8fcf2c4ab323d7b5907f037b;p=gitmo%2FMouse.git diff --git a/t/018-multiattr-has.t b/t/018-multiattr-has.t index acd258b..8458e89 100644 --- a/t/018-multiattr-has.t +++ b/t/018-multiattr-has.t @@ -19,7 +19,7 @@ do { }; can_ok(Class => qw/a b c/); -is(keys %{ Class->meta->get_attribute_map }, 3, "three attributes created"); +is_deeply([sort Class->meta->get_attribute_list], [sort qw/a b c/], "three attributes created"); Class->new(a => 1, b => 2); is_deeply(\%trigger, { a => 1, b => 1 }, "correct triggers called");