aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-chmod.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-chmod.js')
-rw-r--r--test/parallel/test-fs-chmod.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-chmod.js b/test/parallel/test-fs-chmod.js
index 81a117f771..cc8caf86fd 100644
--- a/test/parallel/test-fs-chmod.js
+++ b/test/parallel/test-fs-chmod.js
@@ -150,7 +150,7 @@ if (fs.lchmod) {
[false, 1, {}, [], null, undefined].forEach((input) => {
const errObj = {
code: 'ERR_INVALID_ARG_TYPE',
- name: 'TypeError [ERR_INVALID_ARG_TYPE]',
+ name: 'TypeError',
message: 'The "path" argument must be one of type string, Buffer, or URL.' +
` Received type ${typeof input}`
};