Moose now warns when you try to load it from the main package. Added a
[gitmo/Moose.git] / t / 010_basics / 012_rebless.t
index fcc5dd6..c8ec23e 100644 (file)
@@ -3,14 +3,11 @@
 use strict;
 use warnings;
 
-use Test::More tests => 13;
+use Test::More tests => 11;
 use Test::Exception;
 use Scalar::Util 'blessed';
 
-BEGIN {
-    use_ok('Moose');
-    use_ok("Moose::Util::TypeConstraints");
-}
+use Moose::Util::TypeConstraints;
 
 subtype 'Positive'
      => as 'Num'