summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2017-09-14 14:51:42 -0600
committerJames E Keenan <jkeenan@cpan.org>2017-09-15 13:14:44 -0400
commit8b07d9e2085efc07ae6203ced3ea96189339a52e (patch)
treeb7a5ae6d8b9de7e5b28cf89b9a4a2b824a9cc338 /t/comp
parent1ce8be81dfaf09bc8a07faeba2fd9a3a0e4012be (diff)
downloadperl-8b07d9e2085efc07ae6203ced3ea96189339a52e.tar.gz
tests - remove useless setting in BEGIN
These two tests are not using test.pl and do not need to load any special file. No need for fancy setup in BEGIN, all the most we cannot use the generic set_up_inc helper. Simply remove the useless BEGIN block.
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/bproto.t6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/comp/bproto.t b/t/comp/bproto.t
index 8d11b915c1..cc91242140 100644
--- a/t/comp/bproto.t
+++ b/t/comp/bproto.t
@@ -3,11 +3,7 @@
# check if builtins behave as prototyped
#
-BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
-}
-
+# Ideally tests in t/comp wouldn't use require, as require isn't tested yet
print "1..16\n";
my $i = 1;