Skip to content

Commit 1fc19b0

Browse files
himself65addaleax
authored andcommitted
test: fix a typo on test-fs-read-optional-params
PR-URL: #32461 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 986a605 commit 1fc19b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-read-optional-params.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fs.read(fd, common.mustCall((err, bytesRead, buffer) => {
2727
fs.read(fd, {
2828
buffer: bufferAsOption,
2929
offset: 0,
30-
lenght: bufferAsOption.length,
30+
length: bufferAsOption.length,
3131
position: 0
3232
},
3333
common.mustCall((err, bytesRead, buffer) => {

0 commit comments

Comments
 (0)