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:
parent
062a6e20e3
commit
78d95b4032
@ -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);
|
||||
}));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user