summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-outgoing-proto.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-outgoing-proto.js')
-rw-r--r--test/parallel/test-http-outgoing-proto.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/parallel/test-http-outgoing-proto.js b/test/parallel/test-http-outgoing-proto.js
index f223bc5b9d..0070f53994 100644
--- a/test/parallel/test-http-outgoing-proto.js
+++ b/test/parallel/test-http-outgoing-proto.js
@@ -79,7 +79,8 @@ common.expectsError(() => {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The first argument must be one of type string or Buffer'
+ message: 'The first argument must be one of type string or Buffer. ' +
+ 'Received type undefined'
});
common.expectsError(() => {
@@ -88,7 +89,8 @@ common.expectsError(() => {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The first argument must be one of type string or Buffer'
+ message: 'The first argument must be one of type string or Buffer. ' +
+ 'Received type number'
});
// addTrailers()