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 <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
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)