-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Conversation
Many variables in the buffer tests are redeclared. Change them so that they are scoped appropriately.
LGTM |
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()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible mistake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, actually.
LGTM if CI is fine (can't check right now, it only gives me gateway timeouts). |
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/ |
CI is all green. \m/ |
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>
Landed in 9429685 |
@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. |
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>
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>
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>
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>
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>
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