From f3e8260e8e428e9a14cf928c948438cd6b5211aa Mon Sep 17 00:00:00 2001 From: haze Date: Sat, 16 Mar 2024 17:18:23 -0400 Subject: [PATCH] Update test/parallel/test-stream-err-multiple-callback-construction.js Co-authored-by: Luigi Pinca --- test/parallel/test-stream-err-multiple-callback-construction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stream-err-multiple-callback-construction.js b/test/parallel/test-stream-err-multiple-callback-construction.js index 46172405a202c2..829af3ffe7265f 100644 --- a/test/parallel/test-stream-err-multiple-callback-construction.js +++ b/test/parallel/test-stream-err-multiple-callback-construction.js @@ -16,7 +16,7 @@ class TestWritable extends stream.Writable { const writable = new TestWritable(); -writable.on('finish', common.mustCall(1)); +writable.on('finish', common.mustCall()); writable.on('error', common.mustCall((error) => { assert.strictEqual(error.message, 'Callback called multiple times'); }));