summaryrefslogtreecommitdiff
path: root/t/op/defins.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/defins.t')
-rw-r--r--t/op/defins.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/op/defins.t b/t/op/defins.t
index 86e0dd8287..fb746d5f93 100644
--- a/t/op/defins.t
+++ b/t/op/defins.t
@@ -6,10 +6,11 @@
BEGIN {
chdir 't' if -d 't';
- @INC = qw(. ../lib);
+ require './test.pl';
+ set_up_inc( qw(. ../lib) );
$SIG{__WARN__} = sub { $warns++; warn $_[0] };
}
-require './test.pl';
+
plan( tests => 27 );
my $unix_mode = 1;