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
We have the normal map matcher. But what about when you want to invert the submatcher, e.g. you want to check if the map'd value is not nil?
map
Be sure to also update the failure message, to at least insert a "not" in front of the message.
While we're at it, we should probably create an alias of map that makes the matcher argument a named argument. e.g. map(_:to:)
map(_:to:)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We have the normal
map
matcher. But what about when you want to invert the submatcher, e.g. you want to check if the map'd value is not nil?Be sure to also update the failure message, to at least insert a "not" in front of the message.
While we're at it, we should probably create an alias of
map
that makes the matcher argument a named argument. e.g.map(_:to:)
The text was updated successfully, but these errors were encountered: