[Native][tests] Fix: Avoid unnecessary canonicalization of FS paths
This may lead to IO errors.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ internal fun File.ensureExistsAndIsEmptyDirectory(): File {
|
||||
return this
|
||||
}
|
||||
|
||||
internal fun getAbsoluteFile(localPath: String): File = File(getHomeDirectory()).resolve(localPath).canonicalFile
|
||||
internal fun getAbsoluteFile(localPath: String): File = File(getHomeDirectory()).resolve(localPath)
|
||||
|
||||
internal fun computeGeneratedSourcesDir(testDataBaseDir: File, testDataFile: File, generatedSourcesBaseDir: File): File {
|
||||
assertTrue(testDataFile.startsWith(testDataBaseDir)) {
|
||||
|
||||
Reference in New Issue
Block a user