test: remove unnecessary strictEqual() argument from remoteClose()
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
c493b98b0b
commit
aa18e22a23
@ -92,8 +92,7 @@ function remoteClose() {
|
|||||||
// waiting remote server close the socket
|
// waiting remote server close the socket
|
||||||
setTimeout(common.mustCall(() => {
|
setTimeout(common.mustCall(() => {
|
||||||
assert.strictEqual(agent.sockets[name], undefined);
|
assert.strictEqual(agent.sockets[name], undefined);
|
||||||
assert.strictEqual(agent.freeSockets[name], undefined,
|
assert.strictEqual(agent.freeSockets[name], undefined);
|
||||||
'freeSockets is not empty');
|
|
||||||
remoteError();
|
remoteError();
|
||||||
}), common.platformTimeout(200));
|
}), common.platformTimeout(200));
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user