summaryrefslogtreecommitdiff
path: root/t/op/readdir.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/readdir.t')
-rwxr-xr-xt/op/readdir.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/readdir.t b/t/op/readdir.t
index ad7a8abee3..00199b0fec 100755
--- a/t/op/readdir.t
+++ b/t/op/readdir.t
@@ -2,7 +2,7 @@
BEGIN {
chdir 't' if -d 't';
- unshift @INC, '../lib';
+ @INC = '../lib';
}
eval 'opendir(NOSUCH, "no/such/directory");';