another windows test issue

This commit is contained in:
PJ Fanning 2025-08-03 14:54:34 +01:00
parent e97f1036f0
commit bf4ee6a3b9

View File

@ -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());