summaryrefslogtreecommitdiff
path: root/test/parallel/test-https-options-boolean-check.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-https-options-boolean-check.js')
-rw-r--r--test/parallel/test-https-options-boolean-check.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-https-options-boolean-check.js b/test/parallel/test-https-options-boolean-check.js
index bed5fb0325..295082e1ce 100644
--- a/test/parallel/test-https-options-boolean-check.js
+++ b/test/parallel/test-https-options-boolean-check.js
@@ -87,7 +87,7 @@ const caArrDataView = toDataView(caCert);
https.createServer({ key, cert });
}, {
code: 'ERR_INVALID_ARG_TYPE',
- name: 'TypeError [ERR_INVALID_ARG_TYPE]',
+ name: 'TypeError',
message: 'The "options.key" property must be one of type string, Buffer, ' +
`TypedArray, or DataView. Received type ${type}`
});
@@ -112,7 +112,7 @@ const caArrDataView = toDataView(caCert);
https.createServer({ key, cert });
}, {
code: 'ERR_INVALID_ARG_TYPE',
- name: 'TypeError [ERR_INVALID_ARG_TYPE]',
+ name: 'TypeError',
message: 'The "options.cert" property must be one of type string, Buffer,' +
` TypedArray, or DataView. Received type ${type}`
});
@@ -146,7 +146,7 @@ const caArrDataView = toDataView(caCert);
https.createServer({ key, cert, ca });
}, {
code: 'ERR_INVALID_ARG_TYPE',
- name: 'TypeError [ERR_INVALID_ARG_TYPE]',
+ name: 'TypeError',
message: 'The "options.ca" property must be one of type string, Buffer, ' +
`TypedArray, or DataView. Received type ${type}`
});