summaryrefslogtreecommitdiff
path: root/t/op/regexp.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/regexp.t')
-rwxr-xr-xt/op/regexp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/regexp.t b/t/op/regexp.t
index 4ffe1362c6..23ae576c75 100755
--- a/t/op/regexp.t
+++ b/t/op/regexp.t
@@ -33,7 +33,7 @@ $ENV{PERL_DESTRUCT_LEVEL} = 0 unless $ENV{PERL_DESTRUCT_LEVEL} > 3;
BEGIN {
chdir 't' if -d 't';
- unshift @INC, '../lib' if -d '../lib';
+ @INC = '../lib';
}
$iters = shift || 1; # Poor man performance suite, 10000 is OK.