summaryrefslogtreecommitdiff
path: root/test/parallel/test-util-inspect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-util-inspect.js')
-rw-r--r--test/parallel/test-util-inspect.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js
index 4a73a72a88..eef34ae314 100644
--- a/test/parallel/test-util-inspect.js
+++ b/test/parallel/test-util-inspect.js
@@ -1430,8 +1430,8 @@ if (typeof Symbol !== 'undefined') {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "options" argument must be of type Object. ' +
- 'Received type object'
+ message: 'The "options" argument must be of type object. ' +
+ 'Received null'
}
);
@@ -1440,8 +1440,8 @@ if (typeof Symbol !== 'undefined') {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "options" argument must be of type Object. ' +
- 'Received type string'
+ message: 'The "options" argument must be of type object. ' +
+ "Received type string ('bad')"
}
);
}