From: Dave Rolsky Date: Sun, 21 Jun 2009 16:30:58 +0000 (-0500) Subject: Shut up a warning about not overwriting DESTROY X-Git-Tag: 0.82~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c7514901d14c0fd950d2f317c9cd59de029bf494;p=gitmo%2FMoose.git Shut up a warning about not overwriting DESTROY --- diff --git a/t/300_immutable/015_immutable_destroy.t b/t/300_immutable/015_immutable_destroy.t index 82a5df1..4fcb3de 100644 --- a/t/300_immutable/015_immutable_destroy.t +++ b/t/300_immutable/015_immutable_destroy.t @@ -10,6 +10,7 @@ use Test::More tests => 1; sub DESTROY { shift->name } + local $SIG{__WARN__} = sub {}; __PACKAGE__->meta->make_immutable; }