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 <[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]>
  • Loading branch information
himself65 authored and addaleax committed Mar 30, 2020
1 parent 986a605 commit 1fc19b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-read-optional-params.js
Original file line number Diff line number Diff line change
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 1fc19b0

Please sign in to comment.