requires 'Scalar::Util' => 0;
requires 'SQL::Abstract' => 1.49;
requires 'SQL::Abstract::Limit' => 0.13;
-requires 'Class::C3' => 0.20;
+requires 'MRO::Compat' => 0;
requires 'Class::C3::Componentised' => 1.0003;
requires 'Storable' => 0;
requires 'Carp::Clan' => 0;
use strict;
use Test::More tests => 2;
+use MRO::Compat;
{
package AAA;
__PACKAGE__->inject_base( __PACKAGE__, 'DBIx::Class::Core' );
}
-eval { Class::C3::calculateMRO('BBB'); };
+eval { mro::get_linear_isa('BBB'); };
ok (! $@, "Correctly skipped injecting a direct parent of class BBB");
-eval { Class::C3::calculateMRO('CCC'); };
+eval { mro::get_linear_isa('CCC'); };
ok (! $@, "Correctly skipped injecting an indirect parent of class BBB");