From c7ba5562640ee265b68c9bde5993359564c10bea Mon Sep 17 00:00:00 2001 From: kailash k yogeshwar Date: Mon, 23 Apr 2018 18:07:09 +0530 Subject: [PATCH] test: removed assert.strictEqual message Backport-PR-URL: https://github.com/nodejs/node/pull/22850 PR-URL: https://github.com/nodejs/node/pull/20223 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott --- test/parallel/test-http2-create-client-session.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-http2-create-client-session.js b/test/parallel/test-http2-create-client-session.js index 34e4e975d92d81..35de927ea7924e 100644 --- a/test/parallel/test-http2-create-client-session.js +++ b/test/parallel/test-http2-create-client-session.js @@ -55,9 +55,8 @@ server.on('listening', common.mustCall(() => { const req = client.request(); req.on('response', common.mustCall(function(headers) { - assert.strictEqual(headers[':status'], 200, 'status code is set'); - assert.strictEqual(headers['content-type'], 'text/html', - 'content type is set'); + assert.strictEqual(headers[':status'], 200); + assert.strictEqual(headers['content-type'], 'text/html'); assert(headers.date); }));