From: Dave Rolsky Date: Sat, 6 Jun 2009 19:47:52 +0000 (-0500) Subject: Make this a TODO test since it's easily worked around. Load Moose.pm before loading... X-Git-Tag: 0.80~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b68c3910da2c412355a44ef1d5c8a46062f94d85;p=gitmo%2FMoose.git Make this a TODO test since it's easily worked around. Load Moose.pm before loading Moose::Meta::Class. --- diff --git a/t/100_bugs/026_create_anon_recursion.t b/t/100_bugs/026_create_anon_recursion.t index 876c25b..f981247 100644 --- a/t/100_bugs/026_create_anon_recursion.t +++ b/t/100_bugs/026_create_anon_recursion.t @@ -8,9 +8,16 @@ use Moose::Meta::Class; $SIG{__WARN__} = sub { die if shift =~ /recurs/ }; -my $meta; -lives_ok { - $meta = Moose::Meta::Class->create_anon_class( - superclasses => [ 'Moose::Object', ], - ); -} 'Class is created successfully'; +TODO: +{ + local $TODO + = 'Loading Moose::Meta::Class without loading Moose.pm causes weird problems'; + + my $meta; + lives_ok { + $meta = Moose::Meta::Class->create_anon_class( + superclasses => [ 'Moose::Object', ], + ); + } + 'Class is created successfully'; +}