X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000_load.t;h=697464c211bc200f899b709029f7b69963426ce9;hb=6b83828f50414e18c31109c8c790158b7c0a7820;hp=0c59d05750a68c70276e575f3e84eccc7d4e2b69;hpb=31f8ec7238071a10c5a413a01b0bdc02b26a8bbb;p=gitmo%2FMoose.git diff --git a/t/000_load.t b/t/000_load.t index 0c59d05..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'); -} +package Foo; + +# Moose will issue a warning if we try to load it from the main +# package. +::use_ok('Moose'); + +