Skip to content

Commit 23e7de3

Browse files
TrottMyles Borins
authored andcommitted
lib,test: update in preparation for linter update
ESLint 2.9.0 fixes some bugs that resulted in minor issues not being caught by ESLint 2.7.0. Update instances of our code that will be flagged when we upgrade to ESLint 2.9.0. PR-URL: #6498 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent d869f1e commit 23e7de3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/parallel/test-http-destroyed-socket-write2.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,17 @@ server.listen(common.PORT, function() {
2929
switch (er.code) {
3030
// This is the expected case
3131
case 'ECONNRESET':
32-
// On windows this sometimes manifests as ECONNABORTED
32+
break;
33+
34+
// On Windows, this sometimes manifests as ECONNABORTED
3335
case 'ECONNABORTED':
36+
break;
37+
3438
// This test is timing sensitive so an EPIPE is not out of the question.
3539
// It should be infrequent, given the 50 ms timeout, but not impossible.
3640
case 'EPIPE':
3741
break;
42+
3843
default:
3944
assert.strictEqual(er.code,
4045
'ECONNRESET',

0 commit comments

Comments
 (0)