Skip to content

Commit

Permalink
test: fix a typo on test-fs-read-optional-params
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Mar 24, 2020
1 parent 066bdec commit f42ad77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-read-optional-params.js
Expand Up @@ -27,7 +27,7 @@ fs.read(fd, common.mustCall((err, bytesRead, buffer) => {
fs.read(fd, {
buffer: bufferAsOption,
offset: 0,
lenght: bufferAsOption.length,
length: bufferAsOption.length,
position: 0
},
common.mustCall((err, bytesRead, buffer) => {
Expand Down

0 comments on commit f42ad77

Please sign in to comment.