Redid conversion to Test::Fatal
[gitmo/Moose.git] / t / 050_metaclasses / 054_metaclass_compat_no_fixing_bug.t
index 29aca77..5fc833d 100644 (file)
@@ -40,7 +40,7 @@ use Test::Fatal;
         for             => __PACKAGE__,
         class_metaroles => { constructor => ['Foo::Meta::Constructor2'] },
     );
-    ::ok ! ::exception { extends 'Foo::Sub' }, "doesn't try to fix if nothing is needed";
+    ::is( ::exception { extends 'Foo::Sub' }, undef, "doesn't try to fix if nothing is needed" );
 }
 
 done_testing;