Convert all tests to done_testing.
[gitmo/Moose.git] / t / 000_load.t
index 697464c..38e83d5 100644 (file)
@@ -3,12 +3,14 @@
 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More;
 
-package Foo;
-
-# Moose will issue a warning if we try to load it from the main
-# package.
-::use_ok('Moose');
+{
+    package Foo;
 
+    # Moose will issue a warning if we try to load it from the main
+    # package.
+    ::use_ok('Moose');
+}
 
+done_testing;