aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-invalidargtypes-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-invalidargtypes-errors.js')
-rw-r--r--test/parallel/test-http2-invalidargtypes-errors.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-http2-invalidargtypes-errors.js b/test/parallel/test-http2-invalidargtypes-errors.js
index ff189a2977..d7c451569e 100644
--- a/test/parallel/test-http2-invalidargtypes-errors.js
+++ b/test/parallel/test-http2-invalidargtypes-errors.js
@@ -13,7 +13,8 @@ server.on('stream', common.mustCall((stream) => {
{
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "code" argument must be of type number'
+ message: 'The "code" argument must be of type number. ' +
+ 'Received type string'
}
);
stream.respond();