Moose now warns when you try to load it from the main package. Added a
[gitmo/Moose.git] / t / 200_examples / 005_example_w_TestDeep.t
index 53daaa8..cd33fa9 100644 (file)
@@ -18,16 +18,11 @@ but it is not completely horrid either.
 BEGIN {
     eval "use Test::Deep;";
     plan skip_all => "Test::Deep is required for this test" if $@;        
-    plan tests => 7;    
+    plan tests => 5;    
 }
 
 use Test::Exception;
 
-BEGIN {  
-    use_ok('Moose');
-    use_ok('Moose::Util::TypeConstraints');    
-}
-
 {
     package Foo;
     use Moose;