Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Jan 23, 2024
1 parent 197f47f commit 2b3f81c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Sources/XCTestDynamicOverlay/XCTExpectFailure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import Foundation
.perform(NSSelectorFromString("nonStrictOptions"))?.takeUnretainedValue(),
let functionBlockPointer = dlsym(dlopen(nil, RTLD_LAZY), "XCTExpectFailureWithOptionsInBlock")
else {
let errorString = dlerror().map { charPointer in String(cString: charPointer) }
let errorString =
dlerror().map { charPointer in String(cString: charPointer) }
?? "Unknown error"
assertionFailure(
"Failed to get symbol for XCTExpectFailureWithOptionsInBlock with error: \(errorString)."
Expand Down Expand Up @@ -86,7 +87,8 @@ import Foundation
.perform(NSSelectorFromString("nonStrictOptions"))?.takeUnretainedValue(),
let functionBlockPointer = dlsym(dlopen(nil, RTLD_LAZY), "XCTExpectFailureWithOptions")
else {
let errorString = dlerror().map { charPointer in String(cString: charPointer) }
let errorString =
dlerror().map { charPointer in String(cString: charPointer) }
?? "Unknown error"
assertionFailure(
"Failed to get symbol for XCTExpectFailureWithOptionsInBlock with error: \(errorString)."
Expand All @@ -109,7 +111,7 @@ import Foundation
XCTExpectFailureWithOptions(failureReason, options)
}

public struct _XCTIssue: /*CustomStringConvertible, */Equatable, Hashable {
public struct _XCTIssue: /*CustomStringConvertible, */ Equatable, Hashable {
public var type: IssueType
public var compactDescription: String
public var detailedDescription: String?
Expand Down

0 comments on commit 2b3f81c

Please sign in to comment.