mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: improve assertion message in dgram test
PR-URL: https://github.com/nodejs/node/pull/16121 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
1 parent
44a60c3807
commit
3f56ac4450
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user