make inlining a bit more easily extensible
[gitmo/Class-MOP.git] / t / 074_immutable_custom_trait.t
index cbc75f1..96ac773 100644 (file)
@@ -61,8 +61,7 @@ use Class::MOP;
 
     __PACKAGE__->meta->add_attribute('bar');
 
-    ::ok ! ::exception { __PACKAGE__->meta->make_immutable },
-        'can safely make a class immutable when it has a custom metaclass and immutable trait';
+    ::is( ::exception { __PACKAGE__->meta->make_immutable }, undef, 'can safely make a class immutable when it has a custom metaclass and immutable trait' );
 }
 
 {