Skip to content

Commit 0b27416

Browse files
Trotttargos
authored andcommitted
test: make test-http-expect-continue more strict
In test-http-expect-continue, verify that the request listener is not called. PR-URL: #19669 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 7043e95 commit 0b27416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-expect-continue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const handler = common.mustCall((req, res) => {
3939
res.end(test_res_body);
4040
});
4141

42-
const server = http.createServer();
42+
const server = http.createServer(common.mustNotCall());
4343
server.on('checkContinue', common.mustCall((req, res) => {
4444
console.error('Server got Expect: 100-continue...');
4545
res.writeContinue();

0 commit comments

Comments
 (0)