summaryrefslogtreecommitdiff
path: root/t/mro
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-08-18 00:04:03 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-18 00:04:03 -0700
commitdd23371727bbc999cf254e622450e40ff3b4977d (patch)
tree3e2fb4657a93e5bed5ec189df7422eddc5658071 /t/mro
parent74dac2b57e12768c75e7096b7ee10fb34949af23 (diff)
downloadperl-dd23371727bbc999cf254e622450e40ff3b4977d.tar.gz
Let t/mro/basic.t be run from the top level
Diffstat (limited to 't/mro')
-rw-r--r--t/mro/basic.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/mro/basic.t b/t/mro/basic.t
index be49f9ab1f..65090732f7 100644
--- a/t/mro/basic.t
+++ b/t/mro/basic.t
@@ -3,7 +3,12 @@
use strict;
use warnings;
-BEGIN { require q(./test.pl); } plan(tests => 60);
+BEGIN {
+ chdir 't';
+ @INC = '../lib';
+ require q(./test.pl);
+}
+plan(tests => 60);
require mro;