Skip to content

Commit ae2b360

Browse files
authored
Apply suggestion from @jasnell
1 parent 6a11fbc commit ae2b360

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-fastutf8stream-flush-sync.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ for (const contentMode of ['utf8', 'buffer']) {
132132
const dest = getTempFile();
133133
const fd = openSync(dest, 'w');
134134
const fsOverride = {
135-
write: common.mustCall((fd, buf, ...args) => {
135+
write: common.mustCallAtLeast((fd, buf, ...args) => {
136136
const cb = args.pop();
137137
const err = new Error('EAGAIN');
138138
err.code = 'EAGAIN';

0 commit comments

Comments
 (0)