Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 060_compat / 003_foreign_inheritence.t
index 51e739d..0fdcb9b 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 
 {
@@ -79,14 +79,14 @@ is( $foo_moose->no_moose, 'Elk',
 is( $foo_moose->moose, 'Foo',
     '... got the right value from the Foo::Moose method' );
 
-ok ! exception {
+lives_ok {
     Old::Bucket::Nose->meta->make_immutable( debug => 0 );
-},
+}
 'Immutability on Moose class extending Class::MOP class ok';
 
-ok ! exception {
+lives_ok {
     SubClass2->meta->superclasses('MyBase');
-},
+}
 'Can subclass the same non-Moose class twice with different metaclasses';
 
 done_testing;