X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000_load.t;h=9cb0512c087b2b954c8dcd1379686f4a21554c7c;hb=00bbc132f9e1cb2b1a44aa287887cafa27a84577;hp=697464c211bc200f899b709029f7b69963426ce9;hpb=e606ae5f848070d889472329819c95f5ba763ca3;p=gitmo%2FMoose.git diff --git a/t/000_load.t b/t/000_load.t index 697464c..9cb0512 100644 --- a/t/000_load.t +++ b/t/000_load.t @@ -3,12 +3,10 @@ use strict; use warnings; -use Test::More tests => 1; - -package Foo; - -# Moose will issue a warning if we try to load it from the main -# package. -::use_ok('Moose'); +use Test::More; +BEGIN { + use_ok('Moose'); +} +done_testing;