Skip to content

test: remove unused util imports - #4397

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:no-unused-vars
Closed

test: remove unused util imports#4397
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:no-unused-vars

Conversation

@Trott

Copy link
Copy Markdown
Member

A number of tests in test/parallel were importing the util module
via require() but not using util for anything. This removes those
require() statements.

A number of tests in `test/parallel` were importing the `util` module
via `require()` but not using `util` for anything. This removes those
`require()` statements.
@TrottTrott added the test Issues and PRs related to the tests. label Dec 23, 2015
@rvagg

Copy link
Copy Markdown
Member

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM

Trott added a commit to Trott/io.js that referenced this pull request Dec 25, 2015
A number of tests in `test/parallel` were importing the `util` module
via `require()` but not using `util` for anything. This removes those
`require()` statements.
PR-URL: nodejs#4397
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 3311267

@TrottTrott closed this Dec 25, 2015
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
A number of tests in `test/parallel` were importing the `util` module
via `require()` but not using `util` for anything. This removes those
`require()` statements.
PR-URL: nodejs#4397
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
@MylesBorins

Copy link
Copy Markdown
Contributor

I seems like some of these "unused" utils are still be used in LTS. @Trott do you want to open a different PR to backport this?

@Trott

Trott commented Jan 7, 2016

Copy link
Copy Markdown
MemberAuthor

@thealphanerdwant is a strong word, but I suppose I can do it. So, uh, how? Do I just open a PR against some branch that isn't master? Or what?

@Trott

Trott commented Jan 7, 2016

Copy link
Copy Markdown
MemberAuthor

Ah, I see in another issue you specify v4.x-staging. Sure, I'll get to that.

@Trott

Trott commented Jan 7, 2016

Copy link
Copy Markdown
MemberAuthor

@thealphanerd: Here you go: #4562

@TrottTrott mentioned this pull request Jan 7, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
A number of tests in `test/parallel` were importing the `util` module
via `require()` but not using `util` for anything. This removes those
`require()` statements.
PR-URL: nodejs#4397
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
@Trott
Trott deleted the no-unused-vars branch January 13, 2022 22:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Trott@rvagg@cjihrig@MylesBorins@jasnell