diff --git a/test/parallel/test-buffer-sharedarraybuffer.js b/test/parallel/test-buffer-sharedarraybuffer.js index 6c526bd6942734..3470726f9348e3 100644 --- a/test/parallel/test-buffer-sharedarraybuffer.js +++ b/test/parallel/test-buffer-sharedarraybuffer.js @@ -16,15 +16,15 @@ arr2[1] = 4000; const arr_buf = Buffer.from(arr1.buffer); const ar_buf = Buffer.from(arr2.buffer); -assert.deepStrictEqual(arr_buf, ar_buf, 0); +assert.deepStrictEqual(arr_buf, ar_buf); arr1[1] = 6000; arr2[1] = 6000; -assert.deepStrictEqual(arr_buf, ar_buf, 0); +assert.deepStrictEqual(arr_buf, ar_buf); // Checks for calling Buffer.byteLength on a SharedArrayBuffer -assert.strictEqual(Buffer.byteLength(sab), sab.byteLength, 0); +assert.strictEqual(Buffer.byteLength(sab), sab.byteLength); assert.doesNotThrow(() => Buffer.from({ buffer: sab }));