Skip to content

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