From: Dave Rolsky Date: Fri, 22 May 2009 14:01:07 +0000 (-0500) Subject: Separate packages and remove useless do X-Git-Tag: 0.80~75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5dea9f06feccdd4f9374c988a51fcfc05b107b83;p=gitmo%2FMoose.git Separate packages and remove useless do --- diff --git a/t/100_bugs/024_anon_method_metaclass.t b/t/100_bugs/024_anon_method_metaclass.t index 6079960..ab08bfe 100644 --- a/t/100_bugs/024_anon_method_metaclass.t +++ b/t/100_bugs/024_anon_method_metaclass.t @@ -2,13 +2,15 @@ use strict; use warnings; use Test::More tests => 8; -do { +{ package Ball; use Moose; +} +{ package Arbitrary::Roll; use Moose::Role; -}; +} my $method_meta = Moose::Meta::Class->create_anon_class( superclasses => ['Moose::Meta::Method'],