We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b80876 commit da10e26Copy full SHA for da10e26
test/parallel/test-dgram-send-callback-buffer-length.js
@@ -11,6 +11,7 @@ const offset = 20;
11
const len = buf.length - offset;
12
13
const messageSent = common.mustCall(function messageSent(err, bytes) {
14
+ assert.ifError(err);
15
assert.notStrictEqual(bytes, buf.length);
16
assert.strictEqual(bytes, buf.length - offset);
17
client.close();
0 commit comments