fix typo in docs: . instead of ;
[gitmo/Moose.git] / t / 040_type_constraints / 004_util_find_type_constraint.t
index 5756cb8..0f2773d 100644 (file)
@@ -3,16 +3,15 @@
 use strict;
 use warnings;
 
-use Test::More tests => 18;
-use Test::Exception;
+use Test::More;
 
 BEGIN {
-       use_ok('Moose::Util::TypeConstraints');
+    use_ok('Moose::Util::TypeConstraints');
 }
 
 foreach my $type_name (qw(
     Any
-    Item 
+    Item
         Bool
         Undef
         Defined
@@ -26,13 +25,15 @@ foreach my $type_name (qw(
                 HashRef
                 CodeRef
                 RegexpRef
-                Object 
+                Object
                     Role
     )) {
-    is(find_type_constraint($type_name)->name, 
-       $type_name, 
+    is(find_type_constraint($type_name)->name,
+       $type_name,
        '... got the right name for ' . $type_name);
 }
 
 # TODO:
-# add tests for is_subtype_of which confirm the hierarchy
\ No newline at end of file
+# add tests for is_subtype_of which confirm the hierarchy
+
+done_testing;