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

[v8.x backport] test: refactor test/sequential/test-fs-watch.js #14575

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Aug 1, 2017

  • add block scoping
  • rename block-scoped identifiers (e.g., filenameTwo -> filename)
  • use common.mustCall() instead of exit handler
  • use common.mustNotCall() as appropriate
  • order modules per test writing guide

PR-URL: #14534
Reviewed-By: Colin Ihrig [email protected]

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

* add block scoping
* rename block-scoped identifiers (e.g., filenameTwo -> filename)
* use common.mustCall() instead of exit handler
* use common.mustNotCall() as appropriate
* order modules per test writing guide

PR-URL: nodejs#14534
Reviewed-By: Colin Ihrig <[email protected]>
@nodejs-github-bot nodejs-github-bot added test Issues and PRs related to the tests. v8.x labels Aug 1, 2017
@addaleax
Copy link
Member

addaleax commented Aug 1, 2017

Landed in ce9e3cf, thanks!

@addaleax addaleax closed this Aug 1, 2017
addaleax pushed a commit that referenced this pull request Aug 1, 2017
* add block scoping
* rename block-scoped identifiers (e.g., filenameTwo -> filename)
* use common.mustCall() instead of exit handler
* use common.mustNotCall() as appropriate
* order modules per test writing guide

Backport-PR-URL: #14575
Backport-Reviewed-By: Anna Henningsen <[email protected]>

PR-URL: #14534
Reviewed-By: Colin Ihrig <[email protected]>
@Trott Trott deleted the backport-14534 branch January 13, 2022 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants