Skip to content

Commit e2993b3

Browse files
author
Gary Gregory
committed
Adjust Linux test.
1 parent 1057ca2 commit e2993b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void testThrowsOnCannotDeleteFile() throws Exception {
112112
fail("expected IOException");
113113
} catch (final IOException e) {
114114
final IOExceptionList list = (IOExceptionList) e;
115-
assertEquals("Unable to delete file: " + file.getAbsolutePath(), list.getCause(0).getMessage());
115+
assertEquals("Cannot delete file: " + file.getAbsolutePath(), list.getCause(0).getMessage());
116116
} finally {
117117
chmod(top, 755, false);
118118
}

0 commit comments

Comments
 (0)