mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix wrong method call
PR-URL: https://github.com/nodejs/node/pull/34629 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -35,5 +35,5 @@ const ondone = common.mustCall((err) => {
|
||||
write();
|
||||
function write() {
|
||||
const buf = Buffer.alloc(size, 'x');
|
||||
fs.write(fd, buf, 0, buf.size, -1, ondone);
|
||||
fs.write(fd, buf, 0, buf.length, -1, ondone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user