Permalink
Browse files

test: remove unnecessary strictEqual() argument from remoteClose()

PR-URL: #20343
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
dayloryanes authored and trivikr committed Apr 26, 2018
1 parent c493b98 commit aa18e22a235d75a28e8a25470b5f3b5f9be06a1f
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/parallel/test-http-agent-keepalive.js
@@ -92,8 +92,7 @@ function remoteClose() {
// waiting remote server close the socket
setTimeout(common.mustCall(() => {
assert.strictEqual(agent.sockets[name], undefined);
assert.strictEqual(agent.freeSockets[name], undefined,
'freeSockets is not empty');
assert.strictEqual(agent.freeSockets[name], undefined);
remoteError();
}), common.platformTimeout(200));
}));

0 comments on commit aa18e22

Please sign in to comment.