projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b810cbf
)
Bring the joy of strict to ext/B/t/lint.t.
Nicholas Clark [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 );
}