Skip to content

Commit fb0a3a4

Browse files
committed
test: unused callback variables removed
Non used variables were removed from stream-exception test
1 parent fbd526b commit fb0a3a4

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)