git.shiar.nl
/
perl
/
plp
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
58ad0f7
)
compact output in warnings test
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Jun 2008 00:06:51 +0000
(
00:06
+0000)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Jun 2008 00:07:32 +0000
(
00:07
+0000)
t/50-cgi.t
patch
|
blob
|
history
diff --git
a/t/50-cgi.t
b/t/50-cgi.t
index bf60143f59edf38044528cefba344d8e80e27522..fec88e390c31bbb291e114259a09dbdbf9aedc6d 100644
(file)
--- a/
t/50-cgi.t
+++ b/
t/50-cgi.t
@@
-120,32
+120,22
@@
if (open my $dummy, "<", $INCFILE) { # like PLP::source will
my $INCWARN = qq{Can't open "$INCFILE" ($!)};
plp_is('warnings', split /\n\n/, <<TEST, 2);
my $INCWARN = qq{Can't open "$INCFILE" ($!)};
plp_is('warnings', split /\n\n/, <<TEST, 2);
-1
-<: use warnings :>
-2
-<: 42 :>
-3
-<: warn "warning" :>
-4
-<: include "missinginclude" :>
-5
-<(missinginclude)>
+1<: use warnings :>
+2<: 42 :>
+3<: warn "warning" :>
+4<: include "missinginclude" :>
+5<(missinginclude)>
6
$HEAD
6
$HEAD
-Useless use of a constant in void context at $testfile line
4
.
+Useless use of a constant in void context at $testfile line
2
.
1
1
-
2
2
+3warning at $testfile line 3.
-3
-warning at $testfile line 6.
-
-4
-<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>$INCWARN at $testfile line 8.
+4<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>$INCWARN at $testfile line 4.
</td></tr></table>
</td></tr></table>
-5
-<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>$INCWARN at $testfile line 10.
+5<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>$INCWARN at $testfile line 5.
</td></tr></table>
TEST
</td></tr></table>
TEST