diff options
Diffstat (limited to 'test/parallel/test-http-proxy.js')
-rw-r--r-- | test/parallel/test-http-proxy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-proxy.js b/test/parallel/test-http-proxy.js index 9808e50696..dfe3218a48 100644 --- a/test/parallel/test-http-proxy.js +++ b/test/parallel/test-http-proxy.js @@ -42,13 +42,13 @@ const backend = http.createServer(function(req, res) { }); const proxy = http.createServer(function(req, res) { - console.error('proxy req headers: ' + JSON.stringify(req.headers)); + console.error(`proxy req headers: ${JSON.stringify(req.headers)}`); http.get({ port: backend.address().port, path: url.parse(req.url).pathname }, function(proxy_res) { - console.error('proxy res headers: ' + JSON.stringify(proxy_res.headers)); + console.error(`proxy res headers: ${JSON.stringify(proxy_res.headers)}`); assert.strictEqual('world', proxy_res.headers['hello']); assert.strictEqual('text/plain', proxy_res.headers['content-type']); |