diff options
Diffstat (limited to 'test/sequential/test-crypto-timing-safe-equal.js')
-rw-r--r-- | test/sequential/test-crypto-timing-safe-equal.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/sequential/test-crypto-timing-safe-equal.js b/test/sequential/test-crypto-timing-safe-equal.js index 08cfc04755..6aaf7de228 100644 --- a/test/sequential/test-crypto-timing-safe-equal.js +++ b/test/sequential/test-crypto-timing-safe-equal.js @@ -33,7 +33,8 @@ common.expectsError( code: 'ERR_INVALID_ARG_TYPE', type: TypeError, message: - 'The "a" argument must be one of type Buffer, TypedArray, or DataView' + 'The "buf1" argument must be one of type Buffer, TypedArray, or ' + + 'DataView. Received type string' } ); @@ -43,6 +44,7 @@ common.expectsError( code: 'ERR_INVALID_ARG_TYPE', type: TypeError, message: - 'The "b" argument must be one of type Buffer, TypedArray, or DataView' + 'The "buf2" argument must be one of type Buffer, TypedArray, or ' + + 'DataView. Received type string' } ); |