summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-client-setNextStreamID-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-client-setNextStreamID-errors.js')
-rw-r--r--test/parallel/test-http2-client-setNextStreamID-errors.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http2-client-setNextStreamID-errors.js b/test/parallel/test-http2-client-setNextStreamID-errors.js
index 203b552ef7..d13d685b3e 100644
--- a/test/parallel/test-http2-client-setNextStreamID-errors.js
+++ b/test/parallel/test-http2-client-setNextStreamID-errors.js
@@ -48,8 +48,8 @@ server.listen(0, common.mustCall(() => {
{
type: TypeError,
code: 'ERR_INVALID_ARG_TYPE',
- message: 'The "id" argument must be of type number. Received type ' +
- typeof value
+ message: 'The "id" argument must be of type number.' +
+ common.invalidArgTypeHelper(value)
}
);
});