summaryrefslogtreecommitdiff
path: root/test/parallel/test-dgram-custom-lookup.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-dgram-custom-lookup.js')
-rw-r--r--test/parallel/test-dgram-custom-lookup.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-dgram-custom-lookup.js b/test/parallel/test-dgram-custom-lookup.js
index df715f81d6..ae62328364 100644
--- a/test/parallel/test-dgram-custom-lookup.js
+++ b/test/parallel/test-dgram-custom-lookup.js
@@ -40,7 +40,8 @@ const dns = require('dns');
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "lookup" argument must be of type Function'
+ message: 'The "lookup" argument must be of type Function. ' +
+ `Received type ${typeof value}`
});
});
}