Merge branch 'bare_attribute'
[gitmo/Moose.git] / t / 040_type_constraints / 002_util_type_constraints_export.t
index 85faf6b..7ef7ad1 100644 (file)
@@ -3,17 +3,14 @@
 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More tests => 4;
 use Test::Exception;
 
-BEGIN {
-    use_ok( 'Moose::Util::TypeConstraints', { into => 'Foo' } );
-}
-
 {
-
     package Foo;
 
+    use Moose::Util::TypeConstraints;
+
     eval {
         type MyRef => where { ref($_) };
     };