mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: remove unused callback variables
Unused variables were removed from stream-exception test. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
209c803569
commit
e301ba40d0
1 file changed
+1
-1
@@ -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!');
|
||||
})
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user