Skip to content

Commit 204133a

Browse files
committed
TestFoundation: don't change the TestURL test directory on Android
The working directory was changed to /data/local/tmp on Android, but that shouldn't be necessary anymore.
1 parent edce8ca commit 204133a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

TestFoundation/TestURL.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,6 @@ class TestURL : XCTestCase {
339339
}
340340
}
341341

342-
#if os(Android)
343-
FileManager.default.changeCurrentDirectoryPath("/data/local/tmp")
344-
#endif
345-
346342
let cwd = FileManager.default.currentDirectoryPath
347343
let cwdURL = URL(fileURLWithPath: cwd, isDirectory: true)
348344
// 1 for path separator

0 commit comments

Comments
 (0)