compact output in warnings test
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Jun 2008 00:06:51 +0000 (00:06 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Jun 2008 00:07:32 +0000 (00:07 +0000)
t/50-cgi.t

index bf60143f59edf38044528cefba344d8e80e27522..fec88e390c31bbb291e114259a09dbdbf9aedc6d 100644 (file)
@@ -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);
-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
-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
-
 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>
-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