From 9e82ee926aa7f98db6708de869f6628a2fdb9f0a Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 10 Mar 2019 18:05:12 +0800 Subject: [PATCH] test: fix test case in test-http2-respond-file-304.js PR-URL: https://github.com/nodejs/node/pull/26565 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- test/parallel/test-http2-respond-file-304.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http2-respond-file-304.js b/test/parallel/test-http2-respond-file-304.js index 12136d65fa874a..f59951730fbea4 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());