From f42ad77dca1293cfb83160c157b5f9ee8ce896fa Mon Sep 17 00:00:00 2001 From: himself65 Date: Wed, 25 Mar 2020 00:08:44 +0800 Subject: [PATCH] test: fix a typo on test-fs-read-optional-params --- test/parallel/test-fs-read-optional-params.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-fs-read-optional-params.js b/test/parallel/test-fs-read-optional-params.js index 9b915d8ce4838c..bae99da3c0ebd0 100644 --- a/test/parallel/test-fs-read-optional-params.js +++ b/test/parallel/test-fs-read-optional-params.js @@ -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) => {