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 misleading .has.property assertion #453

Merged
merged 1 commit into from
May 29, 2015
Merged

Conversation

onefifth
Copy link

Don't rely on optional args value being implicitly undefined. Instead explicitly check the number of passed in arguments.

Potential fix for issue #452

@onefifth onefifth changed the title Fix misleading .has.property assertation Fix misleading .has.property assertion May 29, 2015
@keithamus keithamus merged commit 0027d65 into chaijs:master May 29, 2015
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