From: Shawn M Moore Date: Thu, 25 Jun 2009 20:03:27 +0000 (-0400) Subject: TODOify rbuels's failing test, see [rt.cpan.org #47350] X-Git-Tag: 0.84~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe587668610fdea411db017d1c365d0bfc1b8d15;p=gitmo%2FMoose.git TODOify rbuels's failing test, see [rt.cpan.org #47350] --- diff --git a/t/010_basics/021_attr_override_method_warning.t b/t/010_basics/021_attr_override_method_warning.t index 61dd021..e86ad30 100644 --- a/t/010_basics/021_attr_override_method_warning.t +++ b/t/010_basics/021_attr_override_method_warning.t @@ -16,6 +16,8 @@ sub foo { 'omglolbbq' } package main; EOP -is( scalar(@warnings), 1, 'got 1 warning' ); -like( $warnings[0], qr/\bfoo\b.+redefine/, 'got a redefinition warning that mentions redefining or overriding or something'); - +TODO: { + local $TODO = "Class-MOP does not warn about this yet"; + is( scalar(@warnings), 1, 'got 1 warning' ); + like( $warnings[0], qr/\bfoo\b.+redefine/, 'got a redefinition warning that mentions redefining or overriding or something'); +}