From: Steve Hancock Date: Mon, 24 Aug 2020 14:30:57 +0000 (-0700) Subject: modify test-pod2html for appveyor; do not die on warning (err=2) X-Git-Tag: 20200907~38 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bafa0c1ffb46a4d34355f9bcb629bd7743c69e50;p=perltidy.git modify test-pod2html for appveyor; do not die on warning (err=2) --- diff --git a/t/test-pod2html.t b/t/test-pod2html.t index a287a07b..35310e6b 100644 --- a/t/test-pod2html.t +++ b/t/test-pod2html.t @@ -35,7 +35,7 @@ my $err = Perl::Tidy::perltidy( stderr => \$stderr_string, errorfile => \$errorfile_string, # not used when -se flag is set ); -if ( $err || $stderr_string || $errorfile_string || !$output ) { +if ( $err==1 || $stderr_string || $errorfile_string || !$output ) { print STDERR "Error output received\n"; if ($err) { print STDERR "An error flag '$err' was returned\n";