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
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>
  • Loading branch information
himself65 authored and targos committed Apr 28, 2020
1 parent ade4ec6 commit 5598dd1
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 5598dd1

Please sign in to comment.