From: gfx Date: Mon, 12 Oct 2009 07:41:42 +0000 (+0900) Subject: Resolve a todo X-Git-Tag: 0.37_06~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0fc9e959573bce8e397c5e68eb65b2875105c257;p=gitmo%2FMouse.git Resolve a todo --- diff --git a/t/001_mouse/100-meta-class.t b/t/001_mouse/100-meta-class.t index c76b2da..15da58c 100644 --- a/t/001_mouse/100-meta-class.t +++ b/t/001_mouse/100-meta-class.t @@ -101,13 +101,12 @@ can_ok($child_meta, 'find_method_by_name'); is $child_meta->find_method_by_name('child_method')->fully_qualified_name, 'Child::child_method'; is $child_meta->find_method_by_name('pawn')->fully_qualified_name, 'Class::pawn'; -{ - local $TODO = 'should be Class::MY_CONST'; - is( join(' ', sort map{ $_->fully_qualified_name } grep{ $_->package_name ne 'Mouse::Object' } $child_meta->get_all_methods), - join(' ', sort qw( - Child::bishop Child::child_method Child::meta - Class::MY_CONST Class::has_pawn Class::pawn Class::stub Class::stub_with_attr - )) - ); -} +is( join(' ', sort map{ $_->fully_qualified_name } grep{ $_->package_name ne 'Mouse::Object' } $child_meta->get_all_methods), + join(' ', sort qw( + Child::bishop Child::child_method Child::meta + + Class::MY_CONST Class::has_pawn Class::pawn Class::stub Class::stub_with_attr + )) +); +