Skip to content

Commit

Permalink
test: remove unused variable
Browse files Browse the repository at this point in the history
Remove unused variable err in
  test/sequential/test-http-writable-true-after-close.js

PR-URL: #17186
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
  • Loading branch information
hexapode authored and jasnell committed Nov 21, 2017
1 parent f005656 commit 9f2f56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-http-writable-true-after-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const server = createServer(common.mustCall((req, res) => {
}));
}).listen(0, () => {
external = get(`http://127.0.0.1:${server.address().port}`);
external.on('error', common.mustCall((err) => {
external.on('error', common.mustCall(() => {
server.close();
internal.close();
}));
Expand Down

0 comments on commit 9f2f56d

Please sign in to comment.