Skip to content

util: add coverage for util.inspect.colors alias setter#31743

Closed
Trott wants to merge 2 commits intonodejs:masterfrom
Trott:color-alias-setter
Closed

util: add coverage for util.inspect.colors alias setter#31743
Trott wants to merge 2 commits intonodejs:masterfrom
Trott:color-alias-setter

Conversation

@Trott
Copy link
Copy Markdown
Member

@Trott Trott commented Feb 11, 2020

Add test to confirm that the setter for aliases in util.inspect.colors
keeps the alias reference-equal to the target value.

Refs: https://coverage.nodejs.org/coverage-5b0308cd823a5110/lib/internal/util/inspect.js.html#L357
Refs: https://codecov.io/gh/nodejs/node/src/5b0308cd823a511098dadf9ddd5a35e3a9dbb424/lib/internal/util/inspect.js#L357

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@Trott Trott requested a review from BridgeAR February 11, 2020 17:56
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 11, 2020
Comment thread test/parallel/test-util-inspect.js
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 13, 2020
@addaleax
Copy link
Copy Markdown
Member

Landed in 481fa1c

@BridgeAR
Copy link
Copy Markdown
Member

TIL: It's possible to review closed PRs ;-)

@codebytere codebytere mentioned this pull request Feb 17, 2020
@codebytere codebytere mentioned this pull request Mar 17, 2020
@Trott Trott deleted the color-alias-setter branch April 14, 2022 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants