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 contain_subset matcher #351

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Add contain_subset matcher #351

merged 1 commit into from
Nov 11, 2015

Conversation

tjarratt
Copy link
Contributor

This matcher can be used to check if a NSDictionary contains another NSDictionary as a subset.

We tried to clean up the implementation of matches as much as possible, but it was hard to keep the generic method that accepts any type and have overloaded implementations for NSDictionary * that don't need to do the validation. Perhaps someone has some feedback on how this could be done better?

This matcher can be used to check if a NSDictionary contains another NSDictionary
as a subset.
@tjarratt
Copy link
Contributor Author

tjarratt commented Oct 8, 2015

Just rebased this work on top of master, would love a second set of eyes on this once the build goes green.

briancroom added a commit that referenced this pull request Nov 11, 2015
@briancroom briancroom merged commit 162ce09 into master Nov 11, 2015
@briancroom briancroom deleted the contain_subset_matcher branch November 11, 2015 20:19
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.

2 participants