try test fix again

This commit is contained in:
PJ Fanning 2025-08-03 14:13:12 +01:00
parent ae232b73d7
commit 75e9383a5c

View File

@ -631,7 +631,7 @@ final class TestIOUtils {
private static String windowsPathIfNecessary(String path) {
// this is a workaround for the Windows file system which doesn't allow slashes in file names
return File.pathSeparatorChar == '/' ? path : path.replace('/', File.pathSeparatorChar);
return File.separatorChar == '/' ? path : path.replace('/', File.separatorChar);
}
/**