This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new e2993b3  Adjust Linux test.
e2993b3 is described below

commit e2993b3d51a1b6c887680492c721eb4eed786e2c
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Tue Jan 12 10:07:02 2021 -0500

    Adjust Linux test.
---
 .../java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java 
b/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
index e77c6e9..7e1a64e 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
@@ -112,7 +112,7 @@ public class FileUtilsCleanDirectoryTestCase {
             fail("expected IOException");
         } catch (final IOException e) {
             final IOExceptionList list = (IOExceptionList) e;
-            assertEquals("Unable to delete file: " + file.getAbsolutePath(), 
list.getCause(0).getMessage());
+            assertEquals("Cannot delete file: " + file.getAbsolutePath(), 
list.getCause(0).getMessage());
         } finally {
             chmod(top, 755, false);
         }

Reply via email to