From 653bb39a2f56cbdd7f0080d2ae87444f691be7c1 Mon Sep 17 00:00:00 2001 From: kailash k yogeshwar Date: Mon, 23 Apr 2018 18:07:09 +0530 Subject: [PATCH] removed third argument to strictEqual for resolving default message override --- 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); }));