This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b810cbf
)
Bring the joy of strict to ext/B/t/lint.t.
author
Nicholas Clark
<nick@ccl4.org>
Wed, 5 Mar 2008 17:00:34 +0000
(17:00 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 5 Mar 2008 17:00:34 +0000
(17:00 +0000)
p4raw-id: //depot/perl@33445
ext/B/t/lint.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/B/t/lint.t
b/ext/B/t/lint.t
index
b4cbf99
..
8510764
100644
(file)
--- a/
ext/B/t/lint.t
+++ b/
ext/B/t/lint.t
@@
-16,6
+16,8
@@
BEGIN {
}
require 'test.pl';
}
+use strict;
+use warnings;
plan tests => 29;
@@
-29,7
+31,7
@@
sub runlint ($$$;$) {
stderr => 1,
);
$res =~ s/-e syntax OK\n$//;
- local $
Level = $
Level + 1;
+ local $
::Level = $::
Level + 1;
is( $res, $result, $testname || $opts );
}