Skip to content

Commit 23fb430

Browse files
shenchentargos
shenchen
authored andcommitted
test: add mustCall to test-dgram-connect-send-callback-buffer
PR-URL: #27466 Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ouyang Yadong <[email protected]>
1 parent a37ca24 commit 23fb430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-dgram-connect-send-callback-buffer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const onMessage = common.mustCall(function(err, bytes) {
1414
client.close();
1515
});
1616

17-
client.bind(0, () => {
17+
client.bind(0, common.mustCall(() => {
1818
client.connect(client.address().port, common.mustCall(() => {
1919
client.send(buf, onMessage);
2020
}));
21-
});
21+
}));

0 commit comments

Comments
 (0)