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 <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>
  • Loading branch information
angellovc authored and RafaelGSS committed Apr 13, 2023
1 parent e50c6b9 commit 81ad73a
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 81ad73a

Please sign in to comment.