Skip to content

Commit

Permalink
test: fix test case in test-http2-respond-file-304.js
Browse files Browse the repository at this point in the history
PR-URL: #26565
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
gengjiawen authored and BridgeAR committed Mar 14, 2019
1 parent cc4d414 commit 3b8c9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http2-respond-file-304.js
Expand Up @@ -33,7 +33,7 @@ server.listen(0, () => {

req.on('response', common.mustCall((headers) => {
assert.strictEqual(headers[HTTP2_HEADER_STATUS], 304);
assert.strictEqual(headers[HTTP2_HEADER_CONTENT_TYPE, undefined]);
assert.strictEqual(headers[HTTP2_HEADER_CONTENT_TYPE], undefined);
}));

req.on('data', common.mustNotCall());
Expand Down

0 comments on commit 3b8c9cd

Please sign in to comment.