Skip to content

Commit 457549b

Browse files
y1d7ngtargos
authored andcommitted
test: add common.mustCall in test-http-abort-client.js
PR-URL: #27449 Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Yorkie Liu <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent f4124d5 commit 457549b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http-abort-client.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const common = require('../common');
2424
const http = require('http');
2525

2626
let serverRes;
27-
const server = http.Server((req, res) => {
27+
const server = http.Server(common.mustCall((req, res) => {
2828
serverRes = res;
2929
res.writeHead(200);
3030
res.write('Part of my res.');
31-
});
31+
}));
3232

3333
server.listen(0, common.mustCall(() => {
3434
http.get({

0 commit comments

Comments
 (0)