Skip to content

Commit

Permalink
Update unit tests to compile with Xcode 15 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Oct 24, 2023
1 parent e79bab2 commit 030c702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JWTDecodeTests/JWTDecodeSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class JWTDecodeSpec: QuickSpec {
}
}

public func beJWTDecodeError(_ code: JWTDecodeError) -> Predicate<Error> {
public func beJWTDecodeError(_ code: JWTDecodeError) -> Nimble.Predicate<Error> {
return Predicate<Error>.define("be jwt decode error <\(code)>") { expression, failureMessage -> PredicateResult in
guard let actual = try expression.evaluate() as? JWTDecodeError else {
return PredicateResult(status: .doesNotMatch, message: failureMessage)
Expand Down

0 comments on commit 030c702

Please sign in to comment.