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 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.