Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Jan 23, 2024
1 parent 015115d commit b28af93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sources/XCTestDynamicOverlay/XCTExpectFailure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ import Foundation
public var compactDescription: String
public var detailedDescription: String?

// NB: This surface are has been left unimplemented for now. We can consider adopting more of it
// in the future:
//
// var sourceCodeContext: XCTSourceCodeContext
// var associatedError: Error?
// var attachments: [XCTAttachment]
Expand Down
1 change: 0 additions & 1 deletion Sources/XCTestDynamicOverlay/XCTFail.swift
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ import Foundation
}
#endif

// Rule-of-threes: this is also used in XCTExpectFailure.swift. If you need it in a third place, consider refactoring.
private func noop(message: String, file: StaticString? = nil, line: UInt? = nil) -> String {
let fileAndLine: String
if let file = file, let line = line {
Expand Down

0 comments on commit b28af93

Please sign in to comment.