Skip to content

Commit

Permalink
Fix XCTFail -> reportIssue
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Aug 15, 2024
1 parent 7f50046 commit 8f7e07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ServerRouter/Router.swift
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public struct ServerRouter: ParserPrinter {
encoder: jsonEncoder,
secrets: ["SECRET_DEADBEEF"],
sha256: {
XCTFail("Unimplemented: \(Self.self).sha256")
reportIssue("Unimplemented: \(Self.self).sha256")
return $0
}
)
Expand Down
2 changes: 1 addition & 1 deletion Sources/ServerTestHelpers/UnimplementedEitherIO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let message = "Unimplemented\(message.isEmpty ? "" : ": \(message)")"
return .init(
run: .init {
XCTFail(message)
reportIssue(message)
return .left(AnError(message: message))
})
}
Expand Down

0 comments on commit 8f7e07f

Please sign in to comment.