Skip to content

Commit

Permalink
Fix more Swift 5.9 build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev committed Sep 19, 2023
1 parent 7d65d25 commit 0535ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ApolloTests/OperationMessageMatchers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Apollo
@testable import ApolloWebSocket
import ApolloAPI

public func equalMessage(payload: JSONEncodableDictionary? = nil, id: String? = nil, type: OperationMessage.Types) -> Predicate<String> {
return Predicate.define { actualExpression in
public func equalMessage(payload: JSONEncodableDictionary? = nil, id: String? = nil, type: OperationMessage.Types) -> Nimble.Predicate<String> {
return Nimble.Predicate.define { actualExpression in
guard let actualValue = try actualExpression.evaluate() else {
return PredicateResult(
status: .fail,
Expand Down

0 comments on commit 0535ce5

Please sign in to comment.