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

Fix contains() behavior for arrays #104

Merged
merged 1 commit into from
Apr 29, 2016
Merged

Fix contains() behavior for arrays #104

merged 1 commit into from
Apr 29, 2016

Conversation

searls
Copy link
Member

@searls searls commented Apr 29, 2016

Previously, td.matchers.contains() behavior for array arguments made no sense and would only work for strings and plain objects, incidentally. The error that was logged should have been targeted at actualArg, but it's not fair to log the error based on actualArg since it'll cause verifications to appear to fail even if one does satisfy

Thanks a lot to @focusaurus for his patience!

Fixes #102

Thanks a lot to @focusaurus for his patience!
@searls searls merged commit 877c443 into master Apr 29, 2016
@searls searls deleted the 102-fix-contains branch April 29, 2016 01:29
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.

None yet

1 participant