Skip to content

Commit

Permalink
test: remove unnecessary strictEqual() argument from remoteClose()
Browse files Browse the repository at this point in the history
PR-URL: #20343
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
dayloryanes authored and MylesBorins committed May 8, 2018
1 parent b5931e1 commit b24ee07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-http-agent-keepalive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}));
Expand Down

0 comments on commit b24ee07

Please sign in to comment.