FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: remove unnecessary body from .mustNotCall · nodejs/node@fd97bc5 · GitHub

/ node Public

Commit fd97bc5

Browse files
committed
test: remove unnecessary body from .mustNotCall
1 parent 4b2b2ea commit fd97bc5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ httpsServer.on('listening', () => {
9393
httpsServer.close();
9494
}));
9595

96-
req.on('error', common.mustNotCall((e) => {
97-
httpsServer.close();
98-
}));
96+
req.on('error', common.mustNotCall());
9997
req.end();
10098
});

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL