Convert all tests to done_testing.
[gitmo/Moose.git] / t / 040_type_constraints / 006_util_type_reloading.t
index 4cde153..d1acfc2 100644 (file)
@@ -5,11 +5,10 @@ use warnings;
 
 use lib 't/lib', 'lib';
 
-use Test::More tests => 4;
+use Test::More;
 use Test::Exception;
 
 
-
 $SIG{__WARN__} = sub { 0 };
 
 eval { require Foo; };
@@ -26,4 +25,6 @@ ok(!$@, '... loaded Bar successfully') || diag $@;
 delete $INC{'Bar.pm'};
 
 eval { require Bar; };
-ok(!$@, '... re-loaded Bar successfully') || diag $@;
\ No newline at end of file
+ok(!$@, '... re-loaded Bar successfully') || diag $@;
+
+done_testing;