X Tutup
Skip to content

doc: note assert.throws() pitfall#6029

Closed
Trott wants to merge 1 commit intonodejs:masterfrom
Trott:throw
Closed

doc: note assert.throws() pitfall#6029
Trott wants to merge 1 commit intonodejs:masterfrom
Trott:throw

Conversation

@Trott
Copy link
Copy Markdown
Member

@Trott Trott commented Apr 3, 2016

Pull Request check-list

  • Is the commit message formatted according to [CONTRIBUTING.md][0]?
  • Is a documentation update included (if this change modifies
    existing APIs, or introduces new ones)?

Affected core subsystem(s)

doc assert

Description of change

assert.throws() has a pitfall where you may think you are checking error message text when you are not. Document it.

Loading
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. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup