Skip to content

Commit

Permalink
test: remove unused "e" from catch in http2 test
Browse files Browse the repository at this point in the history
PR-URL: #23476
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
Stephen Heitman authored and rvagg committed Nov 28, 2018
1 parent 1e21c0a commit a650bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http2-respond-file-fd-invalid.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ server.on('stream', (stream) => {
// Get first known bad file descriptor.
try {
while (fs.fstatSync(++fd));
} catch (e) {
} catch {
// do nothing; we now have an invalid fd
}

Expand Down

0 comments on commit a650bf9

Please sign in to comment.