Skip to content

Commit

Permalink
Fix Swift 6 basic build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Jul 4, 2024
1 parent 3dce450 commit df20428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/ApolloCodegenTests/TestHelpers/IRMatchers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ extension Nimble.Matcher {
func mappingActualTo<U>(
_ actualMapper: @escaping ((U?) throws -> T?)
) -> Nimble.Matcher<U> {
Nimble.Matcher<U>.define { (actual: Expression<U>) in
Nimble.Matcher<U>.define { (actual: Nimble.Expression<U>) in
let newActual = actual.cast(actualMapper)
return try self.satisfies(newActual)
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/ApolloInternalTestHelpers/XCTestCase+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ extension StoreLoading where Self: XCTestCase {
operation: Operation,
file: StaticString = #filePath,
line: UInt = #line,
resultHandler: @escaping AsyncResultObserver<GraphQLResult<Operation.Data>, Error>.ResultHandler
resultHandler: @escaping AsyncResultObserver<GraphQLResult<Operation.Data>, any Error>.ResultHandler
) {
let resultObserver = makeResultObserver(for: operation, file: file, line: line)

Expand Down

0 comments on commit df20428

Please sign in to comment.