updated for core support
[gitmo/Class-C3.git] / t / 10_Inconsistent_hierarchy.t
index 85ba0c6..453d002 100644 (file)
@@ -46,10 +46,12 @@ except TypeError:
     use base ('XY', 'YX');
 }
 
+Class::C3::initialize();
+
 eval { 
     # now try to calculate the MRO
     # and watch it explode :)
     Class::C3::calculateMRO('Z') 
 };
 #diag $@;
-like($@, qr/^Inconsistent hierarchy/, '... got the right error with an inconsistent hierarchy');
+like($@, qr/^Inconsistent inheritance hierarchy/, '... got the right error with an inconsistent hierarchy');