Revert "convert all uses of Test::Exception to Test::Fatal."
[gitmo/Class-MOP.git] / t / 006_new_and_clone_metaclasses.t
index b91f25c..6c2a21d 100644 (file)
@@ -5,7 +5,7 @@ use FindBin;
 use File::Spec::Functions;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 use Class::MOP;
 
@@ -100,9 +100,9 @@ isnt($cloned_foo, $foo, '... $cloned_foo is a new object different from $foo');
 
 # check some errors
 
-ok exception {
+dies_ok {
     $foo_meta->clone_object($meta);
-}, '... this dies as expected';
+} '... this dies as expected';
 
 # test stuff