X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000_load.t;h=9cb0512c087b2b954c8dcd1379686f4a21554c7c;hb=bcdd50843ff4294e01291085ca463c7956c0cacf;hp=697464c211bc200f899b709029f7b69963426ce9;hpb=7ff5653479c2bfc0794635f7fbade9bfe7bb2381;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;