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