summaryrefslogtreecommitdiff
path: root/test/parallel/test-process-exception-capture-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-process-exception-capture-errors.js')
-rw-r--r--test/parallel/test-process-exception-capture-errors.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-process-exception-capture-errors.js b/test/parallel/test-process-exception-capture-errors.js
index 7053497ada..d2f5b86177 100644
--- a/test/parallel/test-process-exception-capture-errors.js
+++ b/test/parallel/test-process-exception-capture-errors.js
@@ -6,7 +6,8 @@ common.expectsError(
{
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "fn" argument must be one of type Function or null'
+ message: 'The "fn" argument must be one of type Function or null. ' +
+ 'Received type number'
}
);