We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30575c commit f9b0e8cCopy full SHA for f9b0e8c
Tests/Foundation/Tests/TestProcess.swift
@@ -12,12 +12,7 @@ class TestProcess : XCTestCase {
12
func test_exit0() throws {
13
let process = Process()
14
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
- }
+ process.executableURL = executableURL
21
XCTAssertEqual(process.launchPath, executableURL.path)
22
process.arguments = ["--exit", "0"]
23
try process.run()
0 commit comments