Convert all tests to done_testing.
[gitmo/Moose.git] / t / 100_bugs / 022_role_caller.t
index 474179e..11ede55 100644 (file)
@@ -11,7 +11,7 @@ package MyClass2; use Moose; with 'MyRole'; no Moose;
 
 package main;
 
-use Test::More tests => 4;
+use Test::More;
 
 {
   local $TODO = 'Role composition does not clone methods yet';
@@ -23,3 +23,5 @@ use Test::More tests => 4;
 
 isnt(MyClass1->foo, "MyClass2::foo", "role method is not confused with other class" );
 isnt(MyClass2->foo, "MyClass1::foo", "role method is not confused with other class" );
+
+done_testing;