make inlining a bit more easily extensible
[gitmo/Class-MOP.git] / t / 006_new_and_clone_metaclasses.t
index b91f25c..4b655ac 100644 (file)
@@ -100,9 +100,9 @@ isnt($cloned_foo, $foo, '... $cloned_foo is a new object different from $foo');
 
 # check some errors
 
-ok exception {
+isnt( exception {
     $foo_meta->clone_object($meta);
-}, '... this dies as expected';
+}, undef, '... this dies as expected' );
 
 # test stuff