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: improve test-fs-read-stream.js #9629

Closed
wants to merge 1 commit into from

Conversation

jennabelle
Copy link
Contributor

@jennabelle jennabelle commented Nov 16, 2016

tests: refactor to ES6 to strengthen tests

changed var to const, assert.equal() to assert.strictEqual()

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Nov 16, 2016
@Fishrock123
Copy link
Contributor

Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

LGTM

@bnoordhuis
Copy link
Member

@jennabelle Can you make the commit log conform to the house style? CONTRIBUTING.md outlines what it should look like. The first line should at least start with test: and not exceed 50 columns.

@jennabelle jennabelle changed the title changed var to const, assert.equal() to assert.strictEqual() test: changed var to const, assert.equal() to assert.strictEqual() Nov 16, 2016
@jennabelle
Copy link
Contributor Author

@bnoordhuis done, but pls let me know if there is something i missed.

@mscdex mscdex added the fs Issues and PRs related to the fs subsystem / file system. label Nov 16, 2016
Copy link
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

Code changes LGTM but you only updated the title of the pull request, not the commit, and it's still > 50 columns.

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM provided title is updated to meet commit guidelines.

@jennabelle jennabelle changed the title test: changed var to const, assert.equal() to assert.strictEqual() test: change var to const, assert.equal() to assert.strictEqual() Nov 19, 2016
@jennabelle jennabelle changed the title test: change var to const, assert.equal() to assert.strictEqual() test: refactor to ES6 to strengthen tests Nov 19, 2016
@jennabelle
Copy link
Contributor Author

@bnoordhuis @mhdawson sorry, i misunderstood earlier- just changed title to < 50 cols and commit log should conform to CONTRIBUTING.md guidelines now- pls let me know what u think

@fhinkel
Copy link
Member

fhinkel commented Nov 21, 2016

You need to change the commit message. Do that locally with git commit --amend and force push. To see if it worked, click at the top on "Commits(1)".

@gibfahn
Copy link
Member

gibfahn commented Nov 21, 2016

@jennabelle This is the bit you need to change:
image

Commit message could be something like this (second line optional):

test: improve test-fs-read-stream.js

Changed var to const and assert.equal() to assert.strictEqual()

@jennabelle
Copy link
Contributor Author

@gibfahn @fhinkel @mhdawson @bnoordhuis Thanks for the direction, done.

screen shot 2016-11-27 at 12 51 07 am

@fhinkel
Copy link
Member

fhinkel commented Nov 27, 2016

LGTM Thanks!

Copy link
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

LGTM but the commit log title is not the same as the pull request title.

@jennabelle jennabelle changed the title test: refactor to ES6 to strengthen tests test: improve test-fs-read-stream.js Nov 28, 2016
@jennabelle
Copy link
Contributor Author

@bnoordhuis Thx, done.

@mhdawson
Copy link
Member

mhdawson commented Dec 6, 2016

Copy link
Member

@gibfahn gibfahn left a comment

Choose a reason for hiding this comment

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

CI is green, LGTM

Trott pushed a commit to Trott/io.js that referenced this pull request Dec 7, 2016
var -> const
assert.equal() -> assert.strictEqual()

PR-URL: nodejs#9629
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
@Trott
Copy link
Member

Trott commented Dec 7, 2016

Landed in 29b2e88. Thanks for your patience and persistence! 🎉

@Trott Trott closed this Dec 7, 2016
addaleax pushed a commit that referenced this pull request Dec 8, 2016
var -> const
assert.equal() -> assert.strictEqual()

PR-URL: #9629
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
var -> const
assert.equal() -> assert.strictEqual()

PR-URL: nodejs#9629
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
@italoacasas italoacasas mentioned this pull request Dec 15, 2016
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
var -> const
assert.equal() -> assert.strictEqual()

PR-URL: #9629
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs Issues and PRs related to the fs subsystem / file system. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.