summaryrefslogtreecommitdiff
path: root/t/mro/basic_04_c3.t
diff options
context:
space:
mode:
Diffstat (limited to 't/mro/basic_04_c3.t')
-rw-r--r--t/mro/basic_04_c3.t14
1 files changed, 4 insertions, 10 deletions
diff --git a/t/mro/basic_04_c3.t b/t/mro/basic_04_c3.t
index f7e92ecfc2..dbfc883892 100644
--- a/t/mro/basic_04_c3.t
+++ b/t/mro/basic_04_c3.t
@@ -2,14 +2,8 @@
use strict;
use warnings;
-BEGIN {
- unless (-d 'blib') {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
-use Test::More tests => 1;
+require q(./test.pl); plan(tests => 1);
=pod
@@ -33,8 +27,8 @@ From the parrot test t/pmc/object-meths.t
package t::lib::F; use mro 'c3'; use base ('t::lib::C', 't::lib::D');
}
-is_deeply(
+ok(eq_array(
mro::get_linear_isa('t::lib::F'),
- [ qw(t::lib::F t::lib::C t::lib::D t::lib::A t::lib::B t::lib::E) ],
- '... got the right MRO for t::lib::F');
+ [ qw(t::lib::F t::lib::C t::lib::D t::lib::A t::lib::B t::lib::E) ]
+), '... got the right MRO for t::lib::F');