Skip to content

test: use common.mustNotCall in test-crypto-random - #13183

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:crypto-musnt
Closed

test: use common.mustNotCall in test-crypto-random#13183
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:crypto-musnt

Conversation

@Trott

Copy link
Copy Markdown
Member

Use common.mustNotCall() to confirm that noop callbacks are not run
when functions throw errors.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test crypto

Use `common.mustNotCall()` to confirm that noop callbacks are not run
when functions throw errors.
@TrottTrott added crypto Issues and PRs related to the crypto subsystem. test Issues and PRs related to the tests. labels May 24, 2017
@Trott

Copy link
Copy Markdown
MemberAuthor

Trott added a commit to Trott/io.js that referenced this pull request May 26, 2017
Use `common.mustNotCall()` to confirm that noop callbacks are not run
when functions throw errors.
PR-URL: nodejs#13183
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 112ef23

@TrottTrott closed this May 26, 2017
jasnell pushed a commit that referenced this pull request May 28, 2017
Use `common.mustNotCall()` to confirm that noop callbacks are not run
when functions throw errors.
PR-URL: #13183
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@jasnelljasnell mentioned this pull request May 28, 2017
@gibfahngibfahn mentioned this pull request Jun 15, 2017
3 tasks
@Trott
Trott deleted the crypto-musnt branch January 13, 2022 22:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Trott@danbev@jasnell@benjamingr@lpinca@cjihrig@MylesBorins