From 1c648fb161a46deddbea46e1a7612c238e9d00c8 Mon Sep 17 00:00:00 2001 From: Stephen Heitman Date: Fri, 12 Oct 2018 09:51:28 -0700 Subject: [PATCH] test: remove unused "e" from catch in http2 test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/23476 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Shelley Vohr Reviewed-By: Michaƫl Zasso Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Trivikram Kamat --- test/parallel/test-http2-respond-file-fd-invalid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http2-respond-file-fd-invalid.js b/test/parallel/test-http2-respond-file-fd-invalid.js index 21fcf790b449eb..7630b93bc63942 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 }