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 4f3b7101 Adjust test that only runs on Linux 4f3b7101 is described below commit 4f3b7101a26431b97f3cbd4b33b6b2ece2f9c18e Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Sep 22 11:17:25 2022 -0400 Adjust test that only runs on Linux --- .../java/org/apache/commons/io/FileUtilsDeleteDirectoryLinuxTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryLinuxTest.java b/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryLinuxTest.java index 315d097e..ed9c2efc 100644 --- a/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryLinuxTest.java +++ b/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryLinuxTest.java @@ -87,7 +87,7 @@ public class FileUtilsDeleteDirectoryLinuxTest extends FileUtilsDeleteDirectoryB fail("expected IOException"); } catch (final IOException e) { final IOExceptionList list = (IOExceptionList) e; - assertEquals("Cannot delete file: " + file.getAbsolutePath(), list.getCause(0).getMessage()); + assertTrue(list.getCause(0).getMessage().endsWith("Cannot delete file: " + file.getAbsolutePath())); } finally { chmod(nested, 755, false); FileUtils.deleteDirectory(nested);