FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

v4.x-staging: assert: accommodate ES6 classes that extend Error by Trott · Pull Request #4734 · nodejs/node · GitHub

/ node Public

v4.x-staging: assert: accommodate ES6 classes that extend Error - #4734

Closed
Trott wants to merge 1 commit into
nodejs:v4.x-stagingfrom
Trott:v4-missing-3
Closed

v4.x-staging: assert: accommodate ES6 classes that extend Error#4734
Trott wants to merge 1 commit into
nodejs:v4.x-stagingfrom
Trott:v4-missing-3

Conversation

Trott commented Jan 17, 2016

Copy link
Copy Markdown
Member

assert.throws() and assert.doesNotThrow() blow up with a TypeError
if used with an ES6 class that extends Error.

Fixes: #3188
PR-URL: #4166
Reviewed-By: Ben Noordhuis info@bnoordhuis.nl

`assert.throws()` and `assert.doesNotThrow()` blow up with a `TypeError`
if used with an ES6 class that extends Error.

Fixes: nodejs#3188
PR-URL: nodejs#4166
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Trott added assert Issues and PRs related to the assert subsystem. lts Issues and PRs related to Long Term Support releases. labels Jan 17, 2016

jasnell commented Jan 18, 2016

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor

landed in 46b2d2b

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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. lts Issues and PRs related to Long Term Support releases.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL