Skip to content

Commit

Permalink
test: fix inconsistency write size in test-fs-readfile-tostring-fail
Browse files Browse the repository at this point in the history
  • Loading branch information
pluris committed Dec 13, 2023
1 parent 1b60054 commit 7c5a47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-fs-readfile-tostring-fail.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const size = kStringMaxLength / 200;
const a = Buffer.alloc(size, 'a');
let expectedSize = 0;

for (let i = 0; i < 201; i++) {
for (let i = 0; i < 200; i++) {
stream.write(a, (err) => { assert.ifError(err); });
expectedSize += a.length;
}
Expand Down

0 comments on commit 7c5a47c

Please sign in to comment.