Skip to content

Commit f24d061

Browse files
angellovcdanielleadams
authored andcommitted
test: remove unused callback variables
Unused variables were removed from stream-exception test. PR-URL: #47167 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
1 parent 82071cc commit f24d061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-wrap-js-stream-exceptions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ process.once('uncaughtException', common.mustCall((err) => {
1111

1212
const socket = new JSStreamWrap(new Duplex({
1313
read: common.mustCall(),
14-
write: common.mustCall((buffer, data, cb) => {
14+
write: common.mustCall(() => {
1515
throw new Error('exception!');
1616
})
1717
}));

0 commit comments

Comments
 (0)