From: Steve Hancock Date: Tue, 25 Aug 2020 00:04:56 +0000 (-0700) Subject: test restoring unlink of tmp file in test-eol.t X-Git-Tag: 20200907~36 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=61de07e79c7bd1027dba7d63f5b81e656384a18c;p=perltidy.git test restoring unlink of tmp file in test-eol.t --- diff --git a/t/test-eol.t b/t/test-eol.t index 16ded8f3..6364d628 100644 --- a/t/test-eol.t +++ b/t/test-eol.t @@ -130,5 +130,6 @@ Perl::Tidy::perltidy( ok($output, $expected_output, "output file EOLs (UTF8)"); -# Appveyor produces an error if you try to unlink a temp file -##if ( -e $output_filename ) { unlink $output_filename } +# Try to delete the tmpfile; +# Comment this out if it causes a failure at Appveyor +if ( -e $output_filename ) { unlink $output_filename }