Remove testNotInSlashTmp()

This test was very dependent on details of the testing environment, and failed or succeeded according to details we don't seem to control in CI. In the end, this test was only reliable on macOS at desk. Accordingly,
we delete it.
This commit is contained in:
Guillaume Lessard authored and Guillaume Lessard committed 2026-11-18 16:05:03 -08:00
1 parent c0e3eea428
commit 781b0cfab5
1 file changed
-9
@@ -16,15 +16,6 @@ import XCTest
#endif
final class TemporaryPathTest: XCTestCase {
#if SYSTEM_PACKAGE_DARWIN
func testNotInSlashTmp() throws {
try withTemporaryFilePath(basename: "NotInSlashTmp") { path in
// We shouldn't be using "/tmp" on Darwin
XCTAssertNotEqual(path.components.first!, "tmp")
}
}
#endif
func testUnique() throws {
try withTemporaryFilePath(basename: "test") { path in
let strPath = String(decoding: path)