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 <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Alexey Orlenko <[email protected]>
  • Loading branch information
hexapode authored and gibfahn committed Dec 20, 2017
1 parent 9c6b845 commit cebedd6
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 cebedd6

Please sign in to comment.