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');