Moose now warns when you try to load it from the main package. Added a
[gitmo/Moose.git] / t / 000_load.t
index 0c59d05..697464c 100644 (file)
@@ -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');
+
+