summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-close-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-close-errors.js')
-rw-r--r--test/parallel/test-fs-close-errors.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-close-errors.js b/test/parallel/test-fs-close-errors.js
index 48af5eb485..42d990410f 100644
--- a/test/parallel/test-fs-close-errors.js
+++ b/test/parallel/test-fs-close-errors.js
@@ -10,7 +10,7 @@ const fs = require('fs');
['', false, null, undefined, {}, []].forEach((input) => {
const errObj = {
code: 'ERR_INVALID_ARG_TYPE',
- name: 'TypeError [ERR_INVALID_ARG_TYPE]',
+ name: 'TypeError',
message: 'The "fd" argument must be of type number. ' +
`Received type ${typeof input}`
};