summaryrefslogtreecommitdiff
path: root/test/parallel/test-process-hrtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-process-hrtime.js')
-rw-r--r--test/parallel/test-process-hrtime.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-process-hrtime.js b/test/parallel/test-process-hrtime.js
index 81e50ccb7f..8d469e1dcc 100644
--- a/test/parallel/test-process-hrtime.js
+++ b/test/parallel/test-process-hrtime.js
@@ -38,7 +38,8 @@ common.expectsError(() => {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "time" argument must be of type Array. Received type number'
+ message: 'The "time" argument must be an instance of Array. Received type ' +
+ 'number (1)'
});
common.expectsError(() => {
process.hrtime([]);