types are no string, you can export if you want
[gitmo/Moose.git] / t / 051_util_type_constraints_export.t
index b970a94..065fc12 100644 (file)
@@ -25,6 +25,8 @@ BEGIN {
        };
        ::ok(!$@, '... successfully exported &subtype to Foo package'); 
        
+    Moose::Util::TypeConstraints::export_type_contstraints_as_functions();     
+       
        ::ok(MyRef({}), '... Ref worked correctly');
        ::ok(MyArrayRef([]), '... ArrayRef worked correctly');  
 }
\ No newline at end of file