diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-11-30 22:31:41 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-01 05:20:42 -0800 |
commit | f32becadbe83ee90251793094dc804d84cef87a0 (patch) | |
tree | 9d3fd57bde6d8296d2331c3d5b84c070a317d736 /t/mro | |
parent | 847ded71f84f381516f5a2852e269aa8f2728155 (diff) | |
download | perl-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.t | 4 |
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); { |