use strict;
use warnings;
-use Test::More tests => 5;
+require q(./test.pl); plan(tests => 5);
=pod
sub foo { 'Diamond_D::foo => ' . (shift)->next::method() }
}
-is_deeply(
+ok(eq_array(
mro::get_linear_isa('Diamond_D'),
- [ qw(Diamond_D Diamond_B Diamond_C Diamond_A) ],
- '... got the right MRO for Diamond_D');
+ [ qw(Diamond_D Diamond_B Diamond_C Diamond_A) ]
+), '... got the right MRO for Diamond_D');
is(Diamond_D->hello, 'Diamond_C::hello => Diamond_A::hello', '... method resolved itself as expected');