diff options
Diffstat (limited to 'test/parallel/test-http-write-head.js')
-rw-r--r-- | test/parallel/test-http-write-head.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-write-head.js b/test/parallel/test-http-write-head.js index bdb5d906a0..8ebc2695c8 100644 --- a/test/parallel/test-http-write-head.js +++ b/test/parallel/test-http-write-head.js @@ -10,7 +10,7 @@ const s = http.createServer(common.mustCall((req, res) => { res.setHeader('test', '1'); // toLowerCase() is used on the name argument, so it must be a string. - var threw = false; + let threw = false; try { res.setHeader(0xf00, 'bar'); } catch (e) { |