Skip to content

Commit

Permalink
test: remove unused callback variables
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
angellovc authored and danielleadams committed Jul 6, 2023
1 parent 82071cc commit f24d061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-wrap-js-stream-exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
})
}));
Expand Down

0 comments on commit f24d061

Please sign in to comment.