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: nodejs#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 MoLow committed Jul 6, 2023
1 parent 0165a76 commit 7c4178c
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 7c4178c

Please sign in to comment.