X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F400-define-role.t;h=b85ed402bb221aafc596ac0d46845ad94d3a7f58;hb=33aaf11b51fd4b31581b8c118af54d8ff64060fb;hp=aa7f598a0272be0823c2264e36bd0406b176ee3c;hpb=59089ec36675c7df1998945b1446c37794f88306;p=gitmo%2FMouse.git diff --git a/t/400-define-role.t b/t/400-define-role.t index aa7f598..b85ed40 100644 --- a/t/400-define-role.t +++ b/t/400-define-role.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More tests => 11; -use Mouse::Util ':test'; +use Test::Exception; lives_ok { package Role; @@ -18,7 +18,7 @@ throws_ok { extends 'Role::Parent'; no Mouse::Role; -} qr/Roles do not support 'extends'/; +} qr/Roles do not currently support 'extends'/; lives_ok { package Role; @@ -55,14 +55,14 @@ do { no Mouse::Role; }; -throws_ok { +lives_ok { package Role; use Mouse::Role; with 'Other::Role'; no Mouse::Role; -} qr/Mouse::Role does not currently support 'with'/; +}; throws_ok { package Role; @@ -89,6 +89,7 @@ lives_ok { ::is(blessed($obj), "Impromptu::Class"); }; +our $TODO = 'skip'; throws_ok { package Class; use Mouse;