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

test: refactored test-crypto-random.js #8632

Closed

Conversation

Thylossus
Copy link

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

Test

Description of change

Replaced var by const for constant variables, enforced
strict equality check, and replaced custom callback execution
check by common.mustCall.

Part of nodejs/code-and-learn#56

Signed-off-by: Tobias Kahse [email protected]

Replaced `var` by `const` for constant variables, enforced
strict equality check, and replaced custom callback execution
check by `common.mustCall`.

Signed-off-by: Tobias Kahse <[email protected]>
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Sep 17, 2016
@mscdex mscdex added the crypto Issues and PRs related to the crypto subsystem. label Sep 17, 2016
Copy link
Contributor

@Fishrock123 Fishrock123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@targos targos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Fishrock123
Copy link
Contributor

Oh, whoever lands this should remove Signed-off-by: Tobias Kahse <[email protected]> though.

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imyller
Copy link
Member

imyller commented Sep 17, 2016

@Fishrock123 If removal of Signed-off-by headers is the norm, maybe mention of it could be included in collaborator guide?

/cc @nodejs/documentation

Copy link
Member

@imyller imyller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imyller
Copy link
Member

imyller commented Sep 19, 2016

@imyller
Copy link
Member

imyller commented Sep 19, 2016

If CI is green, I'll start landing this.

@imyller imyller self-assigned this Sep 19, 2016
imyller pushed a commit that referenced this pull request Sep 19, 2016
Replaced `var` by `const` for constant variables, enforced
strict equality check, and replaced custom callback execution
check by `common.mustCall`.

PR-URL: #8632
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ilkka Myller <[email protected]>
@imyller
Copy link
Member

imyller commented Sep 19, 2016

landed in 48142bc

Thank you for your contribution, @Thylossus

@imyller imyller closed this Sep 19, 2016
@imyller imyller removed their assignment Sep 19, 2016
@Thylossus Thylossus deleted the refactor/test-crypto-random branch September 21, 2016 06:03
Fishrock123 pushed a commit that referenced this pull request Oct 11, 2016
Replaced `var` by `const` for constant variables, enforced
strict equality check, and replaced custom callback execution
check by `common.mustCall`.

PR-URL: #8632
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ilkka Myller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants