Skip to content

Commit

Permalink
test: fix inconsistency in write size for `test-fs-readfile-tostring-…
Browse files Browse the repository at this point in the history
…fail`
  • Loading branch information
pluris committed Dec 13, 2023
1 parent 1b60054 commit d90fc7d
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 d90fc7d

Please sign in to comment.