test: fix a typo on test-fs-read-optional-params
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
4898c1d46c
commit
fb254d2a83
@ -27,7 +27,7 @@ fs.read(fd, common.mustCall((err, bytesRead, buffer) => {
|
|||||||
fs.read(fd, {
|
fs.read(fd, {
|
||||||
buffer: bufferAsOption,
|
buffer: bufferAsOption,
|
||||||
offset: 0,
|
offset: 0,
|
||||||
lenght: bufferAsOption.length,
|
length: bufferAsOption.length,
|
||||||
position: 0
|
position: 0
|
||||||
},
|
},
|
||||||
common.mustCall((err, bytesRead, buffer) => {
|
common.mustCall((err, bytesRead, buffer) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user