diff options
Diffstat (limited to 'test/parallel/test-process-exception-capture-errors.js')
-rw-r--r-- | test/parallel/test-process-exception-capture-errors.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-process-exception-capture-errors.js b/test/parallel/test-process-exception-capture-errors.js index d2f5b86177..5f89852b6e 100644 --- a/test/parallel/test-process-exception-capture-errors.js +++ b/test/parallel/test-process-exception-capture-errors.js @@ -6,8 +6,8 @@ common.expectsError( { code: 'ERR_INVALID_ARG_TYPE', type: TypeError, - message: 'The "fn" argument must be one of type Function or null. ' + - 'Received type number' + message: 'The "fn" argument must be of type function or null. ' + + 'Received type number (42)' } ); |