Require Dist::Zilla 4.200016+
[gitmo/Moose.git] / t / type_constraints / util_find_type_constraint.t
index 0f2773d..372816b 100644 (file)
@@ -5,9 +5,7 @@ use warnings;
 
 use Test::More;
 
-BEGIN {
-    use_ok('Moose::Util::TypeConstraints');
-}
+use Moose::Util::TypeConstraints;
 
 foreach my $type_name (qw(
     Any
@@ -26,7 +24,6 @@ foreach my $type_name (qw(
                 CodeRef
                 RegexpRef
                 Object
-                    Role
     )) {
     is(find_type_constraint($type_name)->name,
        $type_name,