mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
61a56fe437
commit
b646566ab4
1 file changed
+2
-3
@@ -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);
|
||||
}));
|
||||
|
||||
|
||||
Reference in new issue
Block a user