From: Dave Rolsky Date: Thu, 11 Sep 2008 19:53:38 +0000 (+0000) Subject: One of our todo methods here now passes, because Moose::Meta::Role::Method isa Moose... X-Git-Tag: 0.58~34^2~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9cde8a2fed5b88dac3d97c20f52d1e3da1aa02b3;p=gitmo%2FMoose.git One of our todo methods here now passes, because Moose::Meta::Role::Method isa Moose::Meta::Method --- diff --git a/t/600_todo_tests/002_various_role_shit.t b/t/600_todo_tests/002_various_role_shit.t index 5f73d10..6fe05db 100644 --- a/t/600_todo_tests/002_various_role_shit.t +++ b/t/600_todo_tests/002_various_role_shit.t @@ -202,11 +202,7 @@ ok( $gorch->has_attribute("attr"), "has attribute 'attr'" ); req_or_has($gorch, "gorch_method"); ok( $gorch->has_method("gorch_method"), "has_method gorch_method" ); ok( !$gorch->requires_method("gorch_method"), "requires gorch method" ); - -{ - local $TODO = "role method isn't a meta object yet"; - isa_ok( $gorch->get_method("gorch_method"), "Moose::Meta::Method" ); -} +isa_ok( $gorch->get_method("gorch_method"), "Moose::Meta::Method" ); { local $TODO = "method modifier doesn't yet create a method requirement or meta object";