Skip to content
New issue

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

Add a top level equals utility #1897

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Add a top level equals utility #1897

wants to merge 3 commits into from

Conversation

natebosch
Copy link
Member

As a shortcut for the very common it()..equals pattern. Any other
condition will still need to fall back on it()...

As a shortcut for the very common `it()..equals` pattern. Any other
condition will still need to fall back on `it()..`.
This demonstrates a risk of this method - if other packages add an
extension which specialized `equals` for other Subject types, they won't
get picked up by `equals()` but would get picked up by `it()..equals()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant