Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
squash:nits
  • Loading branch information
Trott committed Nov 24, 2016
commit e5a0a86c6744825117515ddcf0f6051f0335f038
4 changes: 3 additions & 1 deletion test/parallel/test-dgram-send-empty-buffer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const assert = require('assert');

if (common.isOSX) {
common.skip('because of 17894467 Apple bug');
Expand All @@ -13,7 +14,8 @@ const client = dgram.createSocket('udp4');
client.bind(0, common.mustCall(function() {
const port = this.address().port;

client.on('message', common.mustCall(function onMessage(buffer, bytes) {
client.on('message', common.mustCall(function onMessage(buffer) {
assert.strictEqual(buffer.length, 0);
clearInterval(interval);
client.close();
}));
Expand Down