mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: add common.mustSucceed
PR-URL: https://github.com/nodejs/node/pull/35086 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
6c4e697f56
commit
70cb70812d
140 files changed
+522
-782
No files matched your search
@@ -29,7 +29,7 @@ server.on('connection', (connection) => {
|
||||
});
|
||||
|
||||
function shutdown() {
|
||||
server.close(common.mustCall());
|
||||
server.close(common.mustSucceed());
|
||||
|
||||
for (const key in connections) {
|
||||
connections[key].destroy();
|
||||
|
||||
Reference in new issue
Block a user