From 19efff07b335f266b73cad014b418097f19fd45c Mon Sep 17 00:00:00 2001 From: vercent deng Date: Sun, 16 Jul 2017 15:44:00 +0800 Subject: [PATCH] test: replace string concatenation to template literals --- test/async-hooks/test-writewrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/async-hooks/test-writewrap.js b/test/async-hooks/test-writewrap.js index eca0d08f10f402..274972e3ee043c 100644 --- a/test/async-hooks/test-writewrap.js +++ b/test/async-hooks/test-writewrap.js @@ -18,8 +18,8 @@ hooks.enable(); // const server = tls .createServer({ - cert: fs.readFileSync(common.fixturesDir + '/test_cert.pem'), - key: fs.readFileSync(common.fixturesDir + '/test_key.pem') + cert: fs.readFileSync(`${common.fixturesDir}/test_cert.pem`), + key: fs.readFileSync(`${common.fixturesDir}/test_key.pem`) }) .on('listening', common.mustCall(onlistening)) .on('secureConnection', common.mustCall(onsecureConnection))