Skip to content
Browse files

test: improve assertion message in internet dgram test

When an error occurs unexpectedly, let the user know what the error is.

PR-URL: #30545
Reviewed-By: Anna Henningsen <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: Luigi Pinca <>
  • Loading branch information
Trott authored and MylesBorins committed Nov 19, 2019
1 parent 574b0f2 commit d8023933360386c17764a40308bb4f379594d668
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/internet/test-dgram-send-cb-quelches-error.js
@@ -28,7 +28,7 @@ function callbackOnly(err) {

function onEvent(err) {'Error should not be emitted if there is callback');`Error should not be emitted if there is callback: ${err}`);

function onError(err) {

0 comments on commit d802393

Please sign in to comment.
You can’t perform that action at this time.