From: Florian Ragwitz Date: Mon, 14 Mar 2011 04:00:34 +0000 (+0100) Subject: We stopped complaining about importing to main ages ago X-Git-Tag: 1.9905~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e039f69b1c5738d36046f24f45d07b49336b4eab;p=gitmo%2FMoose.git We stopped complaining about importing to main ages ago --- diff --git a/t/000_load.t b/t/000_load.t index 38e83d5..9cb0512 100644 --- a/t/000_load.t +++ b/t/000_load.t @@ -5,12 +5,8 @@ use warnings; use Test::More; -{ - package Foo; - - # Moose will issue a warning if we try to load it from the main - # package. - ::use_ok('Moose'); +BEGIN { + use_ok('Moose'); } done_testing;