From 781b0cfab59fe34f772ee18e1ba1edba44843dbb Mon Sep 17 00:00:00 2001 From: Guillaume Lessard Date: Wed, 18 Nov 2026 15:47:07 -0800 Subject: [PATCH] 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. --- Tests/SystemTests/FilePathTests/FilePathTempTest.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Tests/SystemTests/FilePathTests/FilePathTempTest.swift b/Tests/SystemTests/FilePathTests/FilePathTempTest.swift index 30d5826..74ba136 100644 --- a/Tests/SystemTests/FilePathTests/FilePathTempTest.swift +++ b/Tests/SystemTests/FilePathTests/FilePathTempTest.swift @@ -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)