Skip to content

Commit

Permalink
test: removed assert.strictEqual message
Browse files Browse the repository at this point in the history
Backport-PR-URL: #22850
PR-URL: #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>
  • Loading branch information
kailashyogeshwar85 authored and BethGriggs committed Oct 16, 2018
1 parent 1edd7f6 commit c7ba556
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/parallel/test-http2-create-client-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}));

Expand Down

0 comments on commit c7ba556

Please sign in to comment.