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

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bf4ee6a3b9 another windows test issue
bf4ee6a3b9 is described below

commit bf4ee6a3b9021879bc428af0d8eb3a7d6181182d
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Aug 3 14:54:34 2025 +0100

    another windows test issue
---
 poi/src/test/java/org/apache/poi/util/TestIOUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi/src/test/java/org/apache/poi/util/TestIOUtils.java 
b/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
index 05ac383a17..9c026b14d4 100644
--- a/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
+++ b/poi/src/test/java/org/apache/poi/util/TestIOUtils.java
@@ -580,7 +580,7 @@ final class TestIOUtils {
     void testNewFile() throws  IOException {
         final File parent = TempFile.createTempDirectory("create-file-test");
         try {
-            final String path0 = "path/to/file.txt";
+            final String path0 = windowsPathIfNecessary("path/to/file.txt");
             final File outFile = IOUtils.newFile(parent, path0);
             assertTrue(outFile.getAbsolutePath().endsWith(path0),
                     "unexpected path: " + outFile.getAbsolutePath());


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to