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

assert.include(undefined, needle) always passes #142

Closed
donnut opened this issue Mar 6, 2013 · 1 comment
Closed

assert.include(undefined, needle) always passes #142

donnut opened this issue Mar 6, 2013 · 1 comment

Comments

@donnut
Copy link

donnut commented Mar 6, 2013

I tried to assert a string returned by a jQuery. If this string does not exist, jQuery returns undefined. However assertion assert.include(undefined, 'some string') passes. Is this intended behaviour?

Thanks.

@logicalparadox
Copy link
Member

Thanks for the report and sorry for the delay. Will be in next release.

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

No branches or pull requests

2 participants