test: remove unused callback variables

Unused variables were removed from stream-exception test.

PR-URL: https://github.com/nodejs/node/pull/47167
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
angellovc authored and Rich Trott committed 2023-04-10 10:41:26 -07:00
1 parent 209c803569
commit e301ba40d0
1 file changed
+1 -1
@@ -11,7 +11,7 @@ process.once('uncaughtException', common.mustCall((err) => {
const socket = new JSStreamWrap(new Duplex({
read: common.mustCall(),
write: common.mustCall((buffer, data, cb) => {
write: common.mustCall(() => {
throw new Error('exception!');
})
}));