summaryrefslogtreecommitdiff
path: root/t/mro
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-30 22:31:41 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-12-01 05:20:42 -0800
commitf32becadbe83ee90251793094dc804d84cef87a0 (patch)
tree9d3fd57bde6d8296d2331c3d5b84c070a317d736 /t/mro
parent847ded71f84f381516f5a2852e269aa8f2728155 (diff)
downloadperl-f32becadbe83ee90251793094dc804d84cef87a0.tar.gz
Make next_edgecases.t easier to deal with
This makes ./perl -Ilib t/mro/next_edgecases.t work and also allows test functions to be called without parentheses.
Diffstat (limited to 't/mro')
-rw-r--r--t/mro/next_edgecases.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/mro/next_edgecases.t b/t/mro/next_edgecases.t
index ff3272dc60..c0da963ede 100644
--- a/t/mro/next_edgecases.t
+++ b/t/mro/next_edgecases.t
@@ -3,7 +3,9 @@
use strict;
use warnings;
-require q(./test.pl); plan(tests => 12);
+BEGIN { chdir 't'; require q(./test.pl); @INC = qw "../lib lib" }
+
+plan(tests => 12);
{