From: Mischa POSLAWSKY Date: Thu, 5 Jun 2008 00:06:51 +0000 (+0000) Subject: compact output in warnings test X-Git-Tag: 3.23~8 X-Git-Url: http://git.shiar.nl/perl/plp/.git/commitdiff_plain/e99b3964d659c3718110047b10caae453a4aa1d0 compact output in warnings test --- diff --git a/t/50-cgi.t b/t/50-cgi.t index bf60143..fec88e3 100644 --- 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/, < -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 -
Debug information:
$INCWARN at $testfile line 8. +4
Debug information:
$INCWARN at $testfile line 4.
-5 -
Debug information:
$INCWARN at $testfile line 10. +5
Debug information:
$INCWARN at $testfile line 5.
TEST