Use done_testing in all tests and use Test::Requires
[gitmo/MooseX-Types.git] / t / 19_typelib_with_role.t
index af5acd0..b979d40 100644 (file)
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
  
-use Test::More tests => 1;
+use Test::More;
 
 {
     package MyRole;
@@ -24,3 +24,5 @@ eval q{
 };
 
 ok !$@, 'type export not picked up as a method on role application';
+
+done_testing();