Skip to content

Commit ead64bc

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 521dc68 commit ead64bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import Foundation
22

33
#if !os(WASI)
4-
public let _XCTIsTesting: Bool = {
5-
ProcessInfo.processInfo.environment.keys.contains("XCTestSessionIdentifier")
6-
|| ProcessInfo.processInfo.arguments.first
7-
.flatMap(URL.init(fileURLWithPath:))
8-
.map { $0.lastPathComponent == "xctest" || $0.pathExtension == "xctest" }
9-
?? false
10-
}()
4+
public let _XCTIsTesting: Bool = {
5+
ProcessInfo.processInfo.environment.keys.contains("XCTestSessionIdentifier")
6+
|| ProcessInfo.processInfo.arguments.first
7+
.flatMap(URL.init(fileURLWithPath:))
8+
.map { $0.lastPathComponent == "xctest" || $0.pathExtension == "xctest" }
9+
?? false
10+
}()
1111
#endif

0 commit comments

Comments
 (0)