Skip to content

Commit f9b0e8c

Browse files
committed
Fix
1 parent e30575c commit f9b0e8c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Tests/Foundation/Tests/TestProcess.swift

+1-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ class TestProcess : XCTestCase {
1212
func test_exit0() throws {
1313
let process = Process()
1414
let executableURL = xdgTestHelperURL()
15-
if #available(OSX 10.13, *) {
16-
process.executableURL = executableURL
17-
} else {
18-
// Fallback on earlier versions
19-
process.launchPath = executableURL.path
20-
}
15+
process.executableURL = executableURL
2116
XCTAssertEqual(process.launchPath, executableURL.path)
2217
process.arguments = ["--exit", "0"]
2318
try process.run()

0 commit comments

Comments
 (0)