Skip to content

Commit f3e8260

Browse files
hazelpinca
andauthored
Update test/parallel/test-stream-err-multiple-callback-construction.js
Co-authored-by: Luigi Pinca <[email protected]>
1 parent dcdcf76 commit f3e8260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream-err-multiple-callback-construction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TestWritable extends stream.Writable {
1616

1717
const writable = new TestWritable();
1818

19-
writable.on('finish', common.mustCall(1));
19+
writable.on('finish', common.mustCall());
2020
writable.on('error', common.mustCall((error) => {
2121
assert.strictEqual(error.message, 'Callback called multiple times');
2222
}));

0 commit comments

Comments
 (0)