Skip to content

refactor test-fs-write-sync - #28371

Closed
gabynr wants to merge 1 commit into
nodejs:masterfrom
gabynr:refactor-test-fs-write-sync
Closed

refactor test-fs-write-sync#28371
gabynr wants to merge 1 commit into
nodejs:masterfrom
gabynr:refactor-test-fs-write-sync

Conversation

@gabynr

Copy link
Copy Markdown
Contributor

Refactor the code for the test-fs-write-sync to avoid code repetition
and to make it simpler.

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

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jun 21, 2019
@gabynr
gabynrforce-pushed the refactor-test-fs-write-sync branch from 681ba76 to 51bc7eeCompareJune 22, 2019 12:45
@jasnelljasnell added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Jun 23, 2019

@jasnelljasnell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with good CI run

Refactor the code for the test-fs-write-sync to avoid code repetition
and to make it simpler.
@gabynr
gabynrforce-pushed the refactor-test-fs-write-sync branch from 51bc7ee to ea94748CompareJune 23, 2019 23:32
@gabynr

Copy link
Copy Markdown
ContributorAuthor

CI passing now. Reworded commit message to include subsystem and pass linting in CI.

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 24, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleaxaddaleax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice PR, I’m a fan of the simplification :)

@khriztianmorenokhriztianmoreno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM more simple, I like it.

@Trott

Trott commented Jul 7, 2019

Copy link
Copy Markdown
Member

Landed in 327c673.

Thanks for the contribution! 🎉

(If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.)

@TrottTrott closed this Jul 7, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Jul 7, 2019
Refactor the code for the test-fs-write-sync to avoid code repetition
and to make it simpler.
PR-URL: nodejs#28371
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos pushed a commit that referenced this pull request Jul 20, 2019
Refactor the code for the test-fs-write-sync to avoid code repetition
and to make it simpler.
PR-URL: #28371
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This was referenced Jul 23, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@gabynr@nodejs-github-bot@Trott@jasnell@addaleax@khriztianmoreno@BridgeAR@ZYSzys