From: Shawn M Moore Date: Tue, 25 Nov 2008 08:20:16 +0000 (+0000) Subject: TODOify the test for now X-Git-Tag: 0.05~68 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a951e2c7f935c9a06dedb041678add132e1aba2;p=gitmo%2FMooseX-Role-Parameterized.git TODOify the test for now --- diff --git a/t/007-excludes.t b/t/007-excludes.t index 8762907..b312bed 100644 --- a/t/007-excludes.t +++ b/t/007-excludes.t @@ -28,11 +28,14 @@ sub excludes_roles { } @_ } -throws_ok { - Moose::Meta::Class->create_anon_class( - roles => [ 'Role::A', excludes_roles('Role::A') ], - ); -} qr/^Conflict detected: Role::A excludes role 'Role::A'/; +TODO: { + local $TODO = "the error message says Role::A excludes Role::A..??!"; + throws_ok { + Moose::Meta::Class->create_anon_class( + roles => [ 'Role::A', excludes_roles('Role::A') ], + ); + } qr/^Conflict detected: Moose::Meta::Role::__ANON__::SERIAL::\d+ excludes role 'Role::A'/; +}; #lives_ok { # Moose::Meta::Class->create_anon_class(