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: respect assert.doesNotThrow message. #2406

Closed
wants to merge 1 commit into from
Closed

assert: respect assert.doesNotThrow message. #2406

wants to merge 1 commit into from

Conversation

diversario
Copy link

Addresses #2385.
Special handling to detect when user has supplied a custom message.
Added a test for user message.
When testing if actual value is an error use
util.isError instead of instanceof.

Replaces nodejs/node-v0.x-archive#6470.

Addresses #2385.
Special handling to detect when user has supplied a custom message.
Added a test for user message.
When testing if `actual` value is an error use
`util.isError` instead of `instanceof`.
@brendanashworth brendanashworth added the assert Issues and PRs related to the assert subsystem. label Aug 17, 2015
@diversario
Copy link
Author

Sorry, I'm gonna close this and open another one because I messed up commits :/

@diversario diversario closed this Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assert Issues and PRs related to the assert subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants