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,buffer: refactor redeclarations #4893

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Jan 27, 2016

Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

This is approximately 1/3 of the issues needed to be corrected to enable eslint no-redeclare rule. /cc @targos @silverwind

Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.
@Trott Trott added buffer Issues and PRs related to the buffer subsystem. test Issues and PRs related to the tests. labels Jan 27, 2016
@jasnell
Copy link
Member

jasnell commented Jan 27, 2016

LGTM

@silverwind
Copy link
Contributor

@Trott
Copy link
Member Author

Trott commented Jan 28, 2016

CI was rebooted/reconfigured/something. CI again: https://ci.nodejs.org/job/node-test-pull-request/1409/

@@ -50,7 +50,7 @@ assert.deepEqual(arr, [0, 1, 2, 3, 4]);

arr = [];

for (var b of buffer.entries())
for (b of buffer.entries())
Copy link
Contributor

Choose a reason for hiding this comment

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

Possible mistake?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nevermind, actually.

@silverwind
Copy link
Contributor

LGTM if CI is fine (can't check right now, it only gives me gateway timeouts).

@Trott
Copy link
Member Author

Trott commented Jan 28, 2016

Holy buildbot failures. Jenkins must have been rebooted or something like that. Wow.

Let's try again because it seems awfully lovely and stable right now: https://ci.nodejs.org/job/node-test-pull-request/1421/

@Trott
Copy link
Member Author

Trott commented Jan 28, 2016

CI is all green. \m/

Trott added a commit to Trott/io.js that referenced this pull request Jan 28, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: nodejs#4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott
Copy link
Member Author

Trott commented Jan 28, 2016

Landed in 9429685

@Trott Trott closed this Jan 28, 2016
@jbergstroem
Copy link
Member

@Trott the build group gave jenkins some love potion this morning. Should be good from here on forward since we're soon deploying nightly jobs to keep it lean.

@Trott
Copy link
Member Author

Trott commented Jan 29, 2016

rvagg pushed a commit that referenced this pull request Feb 8, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: #4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 17, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: #4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 18, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: #4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Feb 18, 2016
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: #4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Many variables in the buffer tests are redeclared. Change them so that
they are scoped appropriately.

PR-URL: nodejs#4893
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott Trott deleted the test-buffer-no-redeclare branch January 13, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buffer Issues and PRs related to the buffer subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants