Reorganize t/100_bugs/
[gitmo/Mouse.git] / t / 100_bugs / 022_role_caller.t
index 7c339f6..fc2cd94 100644 (file)
@@ -1,6 +1,7 @@
-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;
 
@@ -13,6 +14,8 @@ 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',
@@ -23,3 +26,5 @@ package main;
 
 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;