From 8855395a191ef6accc7070478fca13fe069e8ffd 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 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());