From f32becadbe83ee90251793094dc804d84cef87a0 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 30 Nov 2010 22:31:41 -0800 Subject: [PATCH] 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. --- t/mro/next_edgecases.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/mro/next_edgecases.t b/t/mro/next_edgecases.t index ff3272d..c0da963 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); { -- 2.7.4