]> git.donarmstrong.com Git - perltidy.git/commitdiff
test restoring unlink of tmp file in test-eol.t
authorSteve Hancock <perltidy@users.sourceforge.net>
Tue, 25 Aug 2020 00:04:56 +0000 (17:04 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Tue, 25 Aug 2020 00:04:56 +0000 (17:04 -0700)
t/test-eol.t

index 16ded8f3d0d9d65386b27d96e9f241d3f8a01591..6364d628760a991869d61044c444fe2d72d9c94a 100644 (file)
@@ -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 }