X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000_load.t;h=697464c211bc200f899b709029f7b69963426ce9;hb=7176be9beca87b047f077bd71019e05b42e18713;hp=298e89cdc347a7a403b3a4ec7a47526c34557d25;hpb=fcd84ca90cb39d34c25a5731fecb919b19c46afa;p=gitmo%2FMoose.git diff --git a/t/000_load.t b/t/000_load.t index 298e89c..697464c 100644 --- a/t/000_load.t +++ b/t/000_load.t @@ -5,6 +5,10 @@ use warnings; use Test::More tests => 1; -BEGIN { - use_ok('Moose'); -} \ No newline at end of file +package Foo; + +# Moose will issue a warning if we try to load it from the main +# package. +::use_ok('Moose'); + +