You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/01/16 09:43:39 UTC

[GitHub] [commons-io] boris-unckel commented on a change in pull request #187: IO-702 FileUtils.forceDelete does not delete invalid links. Testcase …

boris-unckel commented on a change in pull request #187:
URL: https://github.com/apache/commons-io/pull/187#discussion_r558832744



##########
File path: src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryBaseTestCase.java
##########
@@ -194,6 +194,29 @@ public void testDeleteParentSymlink2() throws Exception {
         assertEquals(1, randomDirectory.list().length, "Contents of sym link should not have been removed");
     }
 
+    @Test
+    public void testDeleteInvalidLinks() throws Exception {
+        File AFile = new File(top, "realParentDirA");

Review comment:
       thnx, corrected.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org