Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 030_roles / 031_roles_applied_in_create.t
index 4ca7341..10d698c 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 use Moose::Meta::Class;
 use Moose::Util;
 
@@ -13,7 +13,7 @@ use lib 't/lib', 'lib';
 
 # Note that this test passed (pre svn #5543) if we inlined the role
 # definitions in this file, as it was very timing sensitive.
-ok (! exception (
+lives_ok(
     sub {
         my $builder_meta = Moose::Meta::Class->create(
             'YATTA' => (
@@ -21,7 +21,7 @@ ok (! exception (
                 roles      => [qw( Role::Interface Role::Child )],
             )
         );
-    }),
+    },
     'Create a new class with several roles'
 );