| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e7d2e8e commit 15b1c5a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -202,6 +202,8 @@ if (common.hasIPv6) { | |||
| 202 | 202 | if (common.hasIPv6) { | |
| 203 | 203 | assert.strictEqual(error.code, 'ECONNREFUSED'); | |
| 204 | 204 | assert.strictEqual(error.message, `connect ECONNREFUSED ::1:${port}`); | |
| 205 | + } else if (error.code === 'EAFNOSUPPORT') { | ||
| 206 | + assert.strictEqual(error.message, `connect EAFNOSUPPORT ::1:${port} - Local (undefined:undefined)`); | ||
| 205 | 207 | } else { | |
| 206 | 208 | assert.strictEqual(error.code, 'EADDRNOTAVAIL'); | |
| 207 | 209 | assert.strictEqual(error.message, `connect EADDRNOTAVAIL ::1:${port} - Local (:::0)`); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments