Revert "convert all uses of Test::Exception to Test::Fatal."
[gitmo/Class-MOP.git] / t / 085_load_class_gvstash_detect_bug.t
index 7a7faf8..91e6171 100644 (file)
@@ -1,22 +1,22 @@
 use strict;
 use warnings;
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 use Class::MOP;
 use lib 't/lib';
 
-ok ! exception {
+lives_ok {
     Class::MOP::load_class('TestClassLoaded::Sub');
 };
 
 TestClassLoaded->can('a_method');
 
-ok ! exception {
+lives_ok {
     Class::MOP::load_class('TestClassLoaded');
 };
 
-ok ! exception {
+lives_ok {
     TestClassLoaded->a_method;
 };