diff --git a/JWTDecodeTests/JWTDecodeSpec.swift b/JWTDecodeTests/JWTDecodeSpec.swift index 71ee73c..fd03084 100644 --- a/JWTDecodeTests/JWTDecodeSpec.swift +++ b/JWTDecodeTests/JWTDecodeSpec.swift @@ -322,7 +322,7 @@ class JWTDecodeSpec: QuickSpec { } } -public func beJWTDecodeError(_ code: JWTDecodeError) -> Predicate { +public func beJWTDecodeError(_ code: JWTDecodeError) -> Nimble.Predicate { return Predicate.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)