diff options
author | Rich Trott <rtrott@gmail.com> | 2018-03-28 21:24:50 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-03-30 22:40:48 -0700 |
commit | 085ad541d9154a5d524d7f5b8877c69c18b4d389 (patch) | |
tree | c99a2f502860d8ca12ca0a5b0e15ec688bf5c8bb /test | |
parent | 97ace0449292eab3f044158ba3787e6af5dd6f3a (diff) | |
download | android-node-v8-085ad541d9154a5d524d7f5b8877c69c18b4d389.tar.gz android-node-v8-085ad541d9154a5d524d7f5b8877c69c18b4d389.tar.bz2 android-node-v8-085ad541d9154a5d524d7f5b8877c69c18b4d389.zip |
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 <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-http-expect-continue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-expect-continue.js b/test/parallel/test-http-expect-continue.js index 7d910f0778..eb4dd23d7b 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(); |