From: gfx Date: Tue, 15 Sep 2009 09:25:50 +0000 (+0900) Subject: Make $role->get_method_list() include meta() (Moose 0.90 feature) X-Git-Tag: 0.32~56 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1feffa0f0c38b272c64714f35decf6d737d3fd34;p=gitmo%2FMouse.git Make $role->get_method_list() include meta() (Moose 0.90 feature) --- diff --git a/t/030_roles/002_role.t b/t/030_roles/002_role.t index 96ead79..448d492 100755 --- a/t/030_roles/002_role.t +++ b/t/030_roles/002_role.t @@ -70,7 +70,7 @@ isa_ok($foo_role->get_method('boo'), 'Mouse::Meta::Role::Method'); is_deeply( [ sort $foo_role->get_method_list() ], - [ 'boo', 'foo' ], + [ 'boo', 'foo', 'meta' ], '... got the right method list'); ok(FooRole->can('foo'), "locally defined methods are still there");