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 <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Stephen Heitman authored and MylesBorins committed Nov 29, 2018
1 parent 012d848 commit 1c648fb
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 1c648fb

Please sign in to comment.