From: Jesse Luehrs Date: Sat, 17 Sep 2011 21:24:46 +0000 (-0500) Subject: this has worked for a while X-Git-Tag: 2.0300~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=407f59f0b25449cfa05fde48c538f595b66465fa;p=gitmo%2FMoose.git this has worked for a while --- diff --git a/t/moose_util/moose_util_does_role.t b/t/moose_util/moose_util_does_role.t index e4f30f2..1be221d 100644 --- a/t/moose_util/moose_util_does_role.t +++ b/t/moose_util/moose_util_does_role.t @@ -83,14 +83,12 @@ ok(!does_role('Quux', 'Foo'), '... Quux doesnt do Foo (does not die tho)'); ok(does_role('DoesMethod', 'Something::Else'), '... can override the does method'); -# TODO: make the below work, maybe? - # Self -#ok(does_role('Foo', 'Foo'), '... Foo does do Foo'); +ok(does_role('Foo', 'Foo'), '... Foo does do Foo'); # sub-Roles -#ok(does_role('Foo::Foo', 'Foo'), '... Foo::Foo does do Foo'); +ok(does_role('Foo::Foo', 'Foo'), '... Foo::Foo does do Foo'); done_testing;