summaryrefslogtreecommitdiff
path: root/t/op/smartmatch.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-25 20:53:35 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-10-08 23:21:04 +0200
commita817e89d04f0dee7285d1e26ba27439611ce97f9 (patch)
tree1429b1871d712a79ae512edce00b3b6123c75710 /t/op/smartmatch.t
parente64254544c11557cb1b5190db4b7f1b2f1aeabe0 (diff)
downloadperl-a817e89d04f0dee7285d1e26ba27439611ce97f9.tar.gz
Test preamble: unify chdir 't' if -d 't';
Diffstat (limited to 't/op/smartmatch.t')
-rw-r--r--t/op/smartmatch.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t
index bbd63725cf..a5f6373b9a 100644
--- a/t/op/smartmatch.t
+++ b/t/op/smartmatch.t
@@ -1,7 +1,7 @@
#!./perl
BEGIN {
- chdir 't';
+ chdir 't' if -d 't';
require './test.pl';
set_up_inc('../lib');
}