diff --git a/test/parallel/test-http2-respond-file-304.js b/test/parallel/test-http2-respond-file-304.js index 536c48c624e73c..b46cb2044ce76b 100644 --- a/test/parallel/test-http2-respond-file-304.js +++ b/test/parallel/test-http2-respond-file-304.js @@ -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());