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 <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 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.