| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6677c11 commit d9deb1f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,14 @@ var client = net.connect({ | |||
| 10 | 10 | }); | |
| 11 | 11 | ||
| 12 | 12 | client.on('error', common.mustCall(function onError(err) { | |
| 13 | - assert.equal(err.localPort, common.PORT); | ||
| 14 | - assert.equal(err.localAddress, common.localhostIPv4); | ||
| 13 | + assert.strictEqual( | ||
| 14 | + err.localPort, | ||
| 15 | + common.PORT, | ||
| 16 | + `${err.localPort} !== ${common.PORT} in ${err}` | ||
| 17 | + ); | ||
| 18 | + assert.strictEqual( | ||
| 19 | + err.localAddress, | ||
| 20 | + common.localhostIPv4, | ||
| 21 | + `${err.localAddress} !== ${common.localhostIPv4} in ${err}` | ||
| 22 | + ); | ||
| 15 | 23 | })); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments