summaryrefslogtreecommitdiff
path: root/cpan/Unicode-Collate/t/altern.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Unicode-Collate/t/altern.t')
-rw-r--r--cpan/Unicode-Collate/t/altern.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpan/Unicode-Collate/t/altern.t b/cpan/Unicode-Collate/t/altern.t
index f9b9511a84..c958f4b58f 100644
--- a/cpan/Unicode-Collate/t/altern.t
+++ b/cpan/Unicode-Collate/t/altern.t
@@ -5,6 +5,10 @@ BEGIN {
"cannot stringify a Unicode code point\n";
exit 0;
}
+ if ($ENV{PERL_CORE}) {
+ chdir('t') if -d 't';
+ @INC = $^O eq 'MacOS' ? qw(::lib) : qw(../lib);
+ }
}
use Test;