aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi/src/test/java/org/apache/poi/util/TestIOUtils.java2
1 files changed, 1 insertions, 1 deletions
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());