| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 61a56fe commit b646566
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,9 +55,8 @@ server.on('listening', common.mustCall(() => { | |||
| 55 | 55 | const req = client.request(); | |
| 56 | 56 | ||
| 57 | 57 | req.on('response', common.mustCall(function(headers) { | |
| 58 | - assert.strictEqual(headers[':status'], 200, 'status code is set'); | ||
| 59 | - assert.strictEqual(headers['content-type'], 'text/html', | ||
| 60 | - 'content type is set'); | ||
| 58 | + assert.strictEqual(headers[':status'], 200); | ||
| 59 | + assert.strictEqual(headers['content-type'], 'text/html'); | ||
| 61 | 60 | assert(headers.date); | |
| 62 | 61 | })); | |
| 63 | 62 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments