summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2019-11-25 15:30:36 +1100
committerTony Cook <tony@develop-help.com>2019-11-25 15:30:36 +1100
commitd102b51f6c82e6b6f8247d1fe50bb87f053c648b (patch)
treec4b3672eca2d822659b6c941725e8909db27daad
parent3b60acc982643409741aed8e8a6ce2d7eefaf4a5 (diff)
downloadperl-d102b51f6c82e6b6f8247d1fe50bb87f053c648b.tar.gz
make test (via TestInit) in core and TAP::Harness set @INC
so we don't need the test code to do it
-rw-r--r--dist/FindBin/t/FindBin.t5
1 files changed, 0 insertions, 5 deletions
diff --git a/dist/FindBin/t/FindBin.t b/dist/FindBin/t/FindBin.t
index c99b5daadb..043802becc 100644
--- a/dist/FindBin/t/FindBin.t
+++ b/dist/FindBin/t/FindBin.t
@@ -1,10 +1,5 @@
#!./perl
-BEGIN {
- # Can't chdir in BEGIN before FindBin runs, as it then can't find us.
- @INC = -d 't' ? 'lib' : '../lib';
-}
-
print "1..2\n";
use FindBin qw($Bin);