My previous role preservation fix made a todo test pass, so I moved the test and...
[gitmo/Moose.git] / t / 060_compat / 003_foreign_inheritence.t
index 51e739d..1279992 100644 (file)
@@ -79,14 +79,12 @@ is( $foo_moose->no_moose, 'Elk',
 is( $foo_moose->moose, 'Foo',
     '... got the right value from the Foo::Moose method' );
 
-ok ! exception {
+is( exception {
     Old::Bucket::Nose->meta->make_immutable( debug => 0 );
-},
-'Immutability on Moose class extending Class::MOP class ok';
+}, undef, 'Immutability on Moose class extending Class::MOP class ok' );
 
-ok ! exception {
+is( exception {
     SubClass2->meta->superclasses('MyBase');
-},
-'Can subclass the same non-Moose class twice with different metaclasses';
+}, undef, 'Can subclass the same non-Moose class twice with different metaclasses' );
 
 done_testing;