Skip to content

test: Modernize test-fs-truncate-fd - #9978

Closed
NigelKibodeaux wants to merge 1 commit into
nodejs:masterfrom
NigelKibodeaux:modernize-fs-test
Closed

test: Modernize test-fs-truncate-fd#9978
NigelKibodeaux wants to merge 1 commit into
nodejs:masterfrom
NigelKibodeaux:modernize-fs-test

Conversation

@NigelKibodeaux

@NigelKibodeauxNigelKibodeaux commented Dec 1, 2016

Copy link
Copy Markdown
Contributor
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change
  • changed var to const where variables were not reassigned.
  • changed assert.equal to assert.strictEqual because there was no
    downside to being more rigorous.

- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
@mscdexmscdex added the fs Issues and PRs related to the fs subsystem / file system. label Dec 1, 2016
@imyllerimyller added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Dec 1, 2016
@imyller

Copy link
Copy Markdown
Member

@NigelKibodeaux Can you please restore standard PR description template. Thank you!

@NigelKibodeaux

Copy link
Copy Markdown
ContributorAuthor

@imyller Sorry, I created the pull request from GitHub Desktop so I wasn't aware of the template.

@imyller

Copy link
Copy Markdown
Member

@NigelKibodeaux No problems. Looks good now! Thank you 👍

@gibfahn

Copy link
Copy Markdown
Member

jasnell pushed a commit that referenced this pull request Dec 5, 2016
- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
PR-URL: #9978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell

Copy link
Copy Markdown
Member

Landed in c994567. thank you for the PR and for participating in the code-and-learn!

@jasnelljasnell closed this Dec 5, 2016
Fishrock123 pushed a commit that referenced this pull request Dec 6, 2016
- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
PR-URL: #9978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
PR-URL: nodejs#9978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
PR-URL: nodejs#9978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

this test fails when backported to v4.x. Is that the expected behavior?

MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
- changed `var` to `const` where variables were not reassigned.
- changed `assert.equal` to `assert.strictEqual` because there was no
downside to being more rigorous.
PR-URL: #9978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Dec 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.fsIssues and PRs related to the fs subsystem / file system.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@NigelKibodeaux@imyller@gibfahn@jasnell@MylesBorins@cjihrig@mscdex@addaleax@nodejs-github-bot