From: Dave Rolsky Date: Sun, 19 Feb 2012 20:07:14 +0000 (-0600) Subject: Remove some debugging cruft X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=983521d714955763cbe64f4815bdd02be22845c2;p=gitmo%2FMoose.git Remove some debugging cruft --- diff --git a/t/bugs/memory_leaks.t b/t/bugs/memory_leaks.t index 8ed9d77..745d739 100644 --- a/t/bugs/memory_leaks.t +++ b/t/bugs/memory_leaks.t @@ -16,8 +16,7 @@ use Moose::Util qw( apply_all_roles ); use Moose::Role; sub myname { "I'm a role" } } -use Data::Dumper (); -my $o = Data::Dumper->can('_dump'); *Data::Dumper::_dump = sub { Scalar::Util::isweak($_[1]) ? 'WEAK<'.&$o.'>' : &$o }; + no_leaks_ok( sub { Moose::Meta::Class->create_anon_class->new_object;