Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 050_metaclasses / 002_custom_attr_meta_as_role.t
index e516060..55ee9c6 100644 (file)
@@ -4,19 +4,19 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
-ok ! exception {
+lives_ok {
     package MooseX::Attribute::Test;
     use Moose::Role;
-}, 'creating custom attribute "metarole" is okay';
+} 'creating custom attribute "metarole" is okay';
 
-ok ! exception {
+lives_ok {
     package Moose::Meta::Attribute::Custom::Test;
     use Moose;
 
     extends 'Moose::Meta::Attribute';
     with 'MooseX::Attribute::Test';
-}, 'custom attribute metaclass extending role is okay';
+} 'custom attribute metaclass extending role is okay';
 
 done_testing;