From: Dave Rolsky Date: Fri, 18 Sep 2009 20:41:08 +0000 (-0500) Subject: Remove doubled up code X-Git-Tag: 0.22~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b659160497beb09660e7c25e04dd5f055ec1bd7e;p=gitmo%2FMooseX-Singleton.git Remove doubled up code --- diff --git a/t/003-immutable.t b/t/003-immutable.t index e5a4047..39e45bd 100644 --- a/t/003-immutable.t +++ b/t/003-immutable.t @@ -39,7 +39,7 @@ BEGIN { $self->bag->{$key} += $value; } -__PACKAGE__->meta->make_immutable; + ::warning_is sub { __PACKAGE__->meta->make_immutable }, '', 'no warnings when calling make_immutable'; }