Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c4178c

Browse filesBrowse files
angellovcMoLow
authored andcommitted
test: remove unused callback variables
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>
1 parent 0165a76 commit 7c4178c
Copy full SHA for 7c4178c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-wrap-js-stream-exceptions.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-wrap-js-stream-exceptions.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.