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:
b8df70f
)
test.pl should locally increase $Level, rather than setting it to a
author
Nicholas Clark
<nick@ccl4.org>
Sun, 18 Feb 2007 14:18:01 +0000
(14:18 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sun, 18 Feb 2007 14:18:01 +0000
(14:18 +0000)
hard value, so that callers of like and unlike can present diagnostics
with the line number of their own caller.
p4raw-id: //depot/perl@30344
t/test.pl
patch
|
blob
|
blame
|
history
diff --git
a/t/test.pl
b/t/test.pl
index
7b15685
..
5584669
100644
(file)
--- a/
t/test.pl
+++ b/
t/test.pl
@@
-276,7
+276,7
@@
sub like_yn ($$$@) {
unshift(@mess, "# got '$got'\n",
"# expected /$expected/\n");
}
- local $Level =
2
;
+ local $Level =
$Level + 1
;
_ok($pass, _where(), $name, @mess);
}