Cleanup failing tests
[gitmo/Mouse.git] / t / 100_bugs / 022_role_caller.t
index fc2cd94..7c339f6 100644 (file)
@@ -1,7 +1,6 @@
+use Test::More tests => 4;
+
 package MyRole;
-# This is automatically generated by author/import-moose-test.pl.
-# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
-use t::lib::MooseCompat;
 
 use Mouse::Role;
 
@@ -14,8 +13,6 @@ package MyClass2; use Mouse; with 'MyRole'; no Mouse;
 
 package main;
 
-use Test::More;
-
 {
   local $TODO = 'Role composition does not clone methods yet';
   is(MyClass1->foo, 'MyClass1::foo',
@@ -26,5 +23,3 @@ use Test::More;
 
 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;