From 5598dd14dfad18da4c34b804ed0cdcc2c6e5b127 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 PR-URL: https://github.com/nodejs/node/pull/32461 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott --- 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) => {