summaryrefslogtreecommitdiff
path: root/t/uni
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2020-10-03 18:32:22 +0100
committerKarl Williamson <khw@cpan.org>2020-10-03 14:45:31 -0600
commit8c892c9b16bdf4264f1dbd45d5109bed442e66e8 (patch)
tree9b6f19d3e15d110fe4e290d1dafe105a593e5a7e /t/uni
parentd6049bebb5f7286958c894606abb2df210f104a3 (diff)
downloadperl-8c892c9b16bdf4264f1dbd45d5109bed442e66e8.tar.gz
In tests, fix @INC before loading more stuff
Diffstat (limited to 't/uni')
-rw-r--r--t/uni/method.t3
-rw-r--r--t/uni/overload.t4
2 files changed, 4 insertions, 3 deletions
diff --git a/t/uni/method.t b/t/uni/method.t
index cc710ef112..7fb7f18f48 100644
--- a/t/uni/method.t
+++ b/t/uni/method.t
@@ -6,8 +6,9 @@
BEGIN {
chdir 't' if -d 't';
- require "./test.pl"; require './charset_tools.pl';
+ require "./test.pl";
set_up_inc( qw(. ../lib ../cpan/parent/lib) );
+ require './charset_tools.pl';
}
use strict;
diff --git a/t/uni/overload.t b/t/uni/overload.t
index 161484500e..3004614b43 100644
--- a/t/uni/overload.t
+++ b/t/uni/overload.t
@@ -2,11 +2,11 @@
BEGIN {
chdir 't' if -d 't';
- require Config; import Config;
require './test.pl';
+ set_up_inc( '../lib' );
+ require Config; import Config;
require './charset_tools.pl';
require './loc_tools.pl';
- set_up_inc( '../lib' );
}
plan(tests => 193);