test: removed assert.strictEqual message

PR-URL: https://github.com/nodejs/node/pull/20223
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
kailash k yogeshwar 2018-04-23 18:07:09 +05:30 committed by Ruben Bridgewater
parent 062a6e20e3
commit 78d95b4032
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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);
}));