test: add mustCall to test-dgram-connect-send-callback-buffer
PR-URL: https://github.com/nodejs/node/pull/27466 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
This commit is contained in:
parent
4cf8b4212c
commit
77b9007395
@ -14,8 +14,8 @@ const onMessage = common.mustCall(function(err, bytes) {
|
||||
client.close();
|
||||
});
|
||||
|
||||
client.bind(0, () => {
|
||||
client.bind(0, common.mustCall(() => {
|
||||
client.connect(client.address().port, common.mustCall(() => {
|
||||
client.send(buf, onMessage);
|
||||
}));
|
||||
});
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user