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 MylesBorins committed Dec 11, 2017
1 parent 936c0b2 commit c2b30a9
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 c2b30a9

Please sign in to comment.