Rename the 402 test, it's about role attributes
[gitmo/Mouse.git] / t / 400-define-role.t
index 53c77cf..4b27be5 100644 (file)
@@ -55,14 +55,14 @@ do {
     no Mouse::Role;
 };
 
-lives_ok {
+throws_ok {
     package Role;
     use Mouse::Role;
 
     with 'Other::Role';
 
     no Mouse::Role;
-};
+} qr/Role does not currently support 'with'/;
 
 lives_ok {
     package Role;