aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Heitman <stephen.heitman@moovel.com>2018-10-12 09:51:28 -0700
committerAnna Henningsen <anna@addaleax.net>2018-10-14 22:12:06 +0200
commitff3c56c7929e1b56b319c666599175e8cf5f1da5 (patch)
treec0c7ec6c2c6f62ba713eae99eec003b502d238bc
parent20fb64c3ddc936b462e595332cfa13e712407bcb (diff)
downloadandroid-node-v8-ff3c56c7929e1b56b319c666599175e8cf5f1da5.tar.gz
android-node-v8-ff3c56c7929e1b56b319c666599175e8cf5f1da5.tar.bz2
android-node-v8-ff3c56c7929e1b56b319c666599175e8cf5f1da5.zip
test: remove unused "e" from catch in http2 test
PR-URL: https://github.com/nodejs/node/pull/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>
-rw-r--r--test/parallel/test-http2-respond-file-fd-invalid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-respond-file-fd-invalid.js b/test/parallel/test-http2-respond-file-fd-invalid.js
index 21fcf790b4..7630b93bc6 100644
--- a/test/parallel/test-http2-respond-file-fd-invalid.js
+++ b/test/parallel/test-http2-respond-file-fd-invalid.js
@@ -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
}