Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit-30 committed Dec 7, 2023
1 parent f2f8e63 commit 35ee64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-promises-file-handle-read.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async function validateReadWithNoOptions(byte) {
response = await read(fileHandle, buf, 0, undefined, 0, { useConf: true });
assert.strictEqual(response.bytesRead, byte);
response = await read(fileHandle, buf, 0, null, 0, { useConf: true });
assert.strictEqual(response.bytesRead, 0);
assert.strictEqual(response.bytesRead, byte);
}

(async function() {
Expand Down

0 comments on commit 35ee64e

Please sign in to comment.