-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: remove unused util
imports
#4562
Conversation
7e2d0e6
to
4468bd4
Compare
Let's try that again... |
@@ -2,7 +2,7 @@ | |||
var assert = require('assert'); | |||
var common = require('../common'); | |||
|
|||
var util = require('util'); | |||
var util = require('util'); |
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.
Stylistic change, arguably doesn't belong in a commit with the word 'remove' in it.
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.
That was an accident. I'll fix it and force push.
LGTM with a comment. |
LGTM |
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.
4468bd4
to
f323eb7
Compare
LGTM |
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: #4562 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in v4.x-staging in 51e0693 |
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: #4562 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This is #4397 backported for LTS.
A number of tests in
test/parallel
were importing theutil
modulevia
require()
but not usingutil
for anything. This removes thoserequire()
statements.