Redid conversion to Test::Fatal
[gitmo/Moose.git] / t / 030_roles / 020_role_composite.t
index 1362868..2ce6a4b 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Exception;
+use Test::Fatal;
 
 use Moose::Meta::Role::Application::RoleSummation;
 use Moose::Meta::Role::Composite;
@@ -48,9 +48,9 @@ use Moose::Meta::Role::Composite;
             Role::Baz
         );
 
-    lives_ok {
+    is( exception {
         Moose::Meta::Role::Application::RoleSummation->new->apply($c);
-    } '... this composed okay';
+    }, undef, '... this composed okay' );
 
     ##... now nest 'em
     {