From 0b2741651607859cb22bacdb4a62a540ac7257de Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 28 Mar 2018 21:24:50 -0700 Subject: [PATCH] test: make test-http-expect-continue more strict In test-http-expect-continue, verify that the request listener is not called. PR-URL: https://github.com/nodejs/node/pull/19669 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat --- test/parallel/test-http-expect-continue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-expect-continue.js b/test/parallel/test-http-expect-continue.js index 7d910f0778e88a..eb4dd23d7b552f 100644 --- a/test/parallel/test-http-expect-continue.js +++ b/test/parallel/test-http-expect-continue.js @@ -39,7 +39,7 @@ const handler = common.mustCall((req, res) => { res.end(test_res_body); }); -const server = http.createServer(); +const server = http.createServer(common.mustNotCall()); server.on('checkContinue', common.mustCall((req, res) => { console.error('Server got Expect: 100-continue...'); res.writeContinue();