We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While writing some tests we discovered JSONDecodingError implementation of Matchable is missing the wrongType case
JSONDecodingError
Matchable
wrongType
https://github.com/apollographql/apollo-ios/blob/master/Sources/Apollo/JSON.swift#L43
JSONDecodingError.wrongType ~= JSONDecodingError.wrongType should return true.
JSONDecodingError.wrongType ~= JSONDecodingError.wrongType
JSONDecodingError.wrongType ~= JSONDecodingError.wrongType returns false.
Write a simple test.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
While writing some tests we discovered
JSONDecodingError
implementation ofMatchable
is missing thewrongType
casehttps://github.com/apollographql/apollo-ios/blob/master/Sources/Apollo/JSON.swift#L43
Intended outcome:
JSONDecodingError.wrongType ~= JSONDecodingError.wrongType
should return true.Actual outcome:
JSONDecodingError.wrongType ~= JSONDecodingError.wrongType
returns false.How to reproduce the issue:
Write a simple test.
The text was updated successfully, but these errors were encountered: