Moose now warns when you try to load it from the main package. Added a
[gitmo/Moose.git] / t / 200_examples / 004_example_w_DCS.t
index e8d1d25..3dd0e6a 100644 (file)
@@ -17,16 +17,11 @@ Pretty well if I do say so myself :)
 BEGIN {
     eval "use Declare::Constraints::Simple;";
     plan skip_all => "Declare::Constraints::Simple is required for this test" if $@;        
-    plan tests => 11;    
+    plan tests => 9;    
 }
 
 use Test::Exception;
 
-BEGIN {  
-    use_ok('Moose');
-    use_ok('Moose::Util::TypeConstraints');    
-}
-
 {
     package Foo;
     use Moose;