Skip to content

Commit 2b3f81c

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 197f47f commit 2b3f81c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Sources/XCTestDynamicOverlay/XCTExpectFailure.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import Foundation
3131
.perform(NSSelectorFromString("nonStrictOptions"))?.takeUnretainedValue(),
3232
let functionBlockPointer = dlsym(dlopen(nil, RTLD_LAZY), "XCTExpectFailureWithOptionsInBlock")
3333
else {
34-
let errorString = dlerror().map { charPointer in String(cString: charPointer) }
34+
let errorString =
35+
dlerror().map { charPointer in String(cString: charPointer) }
3536
?? "Unknown error"
3637
assertionFailure(
3738
"Failed to get symbol for XCTExpectFailureWithOptionsInBlock with error: \(errorString)."
@@ -86,7 +87,8 @@ import Foundation
8687
.perform(NSSelectorFromString("nonStrictOptions"))?.takeUnretainedValue(),
8788
let functionBlockPointer = dlsym(dlopen(nil, RTLD_LAZY), "XCTExpectFailureWithOptions")
8889
else {
89-
let errorString = dlerror().map { charPointer in String(cString: charPointer) }
90+
let errorString =
91+
dlerror().map { charPointer in String(cString: charPointer) }
9092
?? "Unknown error"
9193
assertionFailure(
9294
"Failed to get symbol for XCTExpectFailureWithOptionsInBlock with error: \(errorString)."
@@ -109,7 +111,7 @@ import Foundation
109111
XCTExpectFailureWithOptions(failureReason, options)
110112
}
111113

112-
public struct _XCTIssue: /*CustomStringConvertible, */Equatable, Hashable {
114+
public struct _XCTIssue: /*CustomStringConvertible, */ Equatable, Hashable {
113115
public var type: IssueType
114116
public var compactDescription: String
115117
public var detailedDescription: String?

0 commit comments

Comments
 (0)