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

Only check for errors in callback if exist #149

Merged
merged 2 commits into from
Apr 2, 2015
Merged

Conversation

Raynos
Copy link
Collaborator

@Raynos Raynos commented Mar 10, 2015

This removes an unnecessary assert null in
case you do thing.close(assert.end) and
the close() operation does not have an
error.

This keeps the TAP output cleaner.

reviewers: @jcorbin @malandrew

cc: @substack

@Raynos
Copy link
Collaborator Author

Raynos commented Mar 10, 2015

Also added @malandrew as reviewer.

@domenic
Copy link
Collaborator

domenic commented Apr 2, 2015

LGTM

Raynos added a commit that referenced this pull request Apr 2, 2015
Only check for errors in callback if exist
@Raynos Raynos merged commit 363b63f into master Apr 2, 2015
@ljharb ljharb deleted the if-error-assert branch March 4, 2019 00:21
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