tests and changelogging
[gitmo/Moose.git] / t / 000_load.t
index 298e89c..38e83d5 100644 (file)
@@ -3,8 +3,14 @@
 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More;
 
-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');
+}
+
+done_testing;