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

pushResult() doesn't ever return a value: it's always undefined/void. #1298

Merged
merged 1 commit into from Jul 30, 2018

Conversation

GerHobbelt
Copy link
Contributor

This is an extract of other work and the result of a code review. Check the implementation of pushResult and all its other spots of usage: no return value is ever produced.

Also tweak a class method to help it generate legible JavaScript code.

# Conflicts:
#	src/assert.js
@jsf-clabot
Copy link

jsf-clabot commented Jul 6, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@trentmwillis trentmwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fair change to make. Doesn't have any practical effect on users, but most of the other assert methods don't return a value.

We'll need you to sign the CLA before we can merge though.

@GerHobbelt
Copy link
Contributor Author

CLA signed

@trentmwillis
Copy link
Member

Thanks! Sorry for the delay in merging.

@trentmwillis trentmwillis merged commit 0e4e9a2 into qunitjs:master Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants