Skip to content

Commit

Permalink
test: improve assertion message in dgram test
Browse files Browse the repository at this point in the history
PR-URL: #16121
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
shakeelmohamed authored and MylesBorins committed Nov 28, 2017
1 parent 44a60c3 commit 3f56ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-callback-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function onsend() {
if (sent++ < limit) {
client.send(chunk, 0, chunk.length, port, common.localhostIPv4, onsend);
} else {
assert.strictEqual(async, true, 'Send should be asynchronous.');
assert.strictEqual(async, true);
}
}

Expand Down

0 comments on commit 3f56ac4

Please sign in to comment.