| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0f98c49 commit ac91346
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,13 +42,13 @@ server.listen(0, common.mustCall(function() { | |||
| 42 | 42 | http.get({ port: this.address().port }, common.mustCall(function(res) { | |
| 43 | 43 | let response = ''; | |
| 44 | 44 | ||
| 45 | - assert.strictEqual(200, res.statusCode); | ||
| 45 | + assert.strictEqual(res.statusCode, 200); | ||
| 46 | 46 | res.setEncoding('ascii'); | |
| 47 | 47 | res.on('data', function(chunk) { | |
| 48 | 48 | response += chunk; | |
| 49 | 49 | }); | |
| 50 | 50 | res.on('end', common.mustCall(function() { | |
| 51 | - assert.strictEqual('1\n2\n3\n', response); | ||
| 51 | + assert.strictEqual(response, '1\n2\n3\n'); | ||
| 52 | 52 | })); | |
| 53 | 53 | })); | |
| 54 | 54 | })); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments