summaryrefslogtreecommitdiff
path: root/t/mro/recursion_c3.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-11-02 11:28:54 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2014-11-02 14:00:15 -0500
commit0b1b7115083e7383e68c937e19f75df5d0fca8bf (patch)
tree116b4fcbd6097bc7d48adf08fc4ebe343db9c2b1 /t/mro/recursion_c3.t
parentbfcaa0fd289158eede73680d514a03e9461efe88 (diff)
downloadperl-0b1b7115083e7383e68c937e19f75df5d0fca8bf.tar.gz
In tests, 'use strict' etc after the @INC manipulation.
Diffstat (limited to 't/mro/recursion_c3.t')
-rw-r--r--t/mro/recursion_c3.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/mro/recursion_c3.t b/t/mro/recursion_c3.t
index cd1db3355a..6ebd7fb2a1 100644
--- a/t/mro/recursion_c3.t
+++ b/t/mro/recursion_c3.t
@@ -1,7 +1,5 @@
#!./perl
-use strict;
-use warnings;
BEGIN {
unless (-d 'blib') {
chdir 't' if -d 't';
@@ -11,6 +9,9 @@ BEGIN {
require './test.pl';
+use strict;
+use warnings;
+
plan(skip_all => "Your system has no SIGALRM") if !exists $SIG{ALRM};
plan(tests => 8);