mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: reduce string concatenations
Backport-PR-URL: https://github.com/nodejs/node/pull/13835 PR-URL: https://github.com/nodejs/node/pull/12735 Refs: https://github.com/nodejs/node/pull/12455 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
1 parent
c902265b90
commit
5b74e635e5
334 files changed
+957
-1026
No files matched your search
@@ -10,8 +10,8 @@ if (!common.hasCrypto) {
|
||||
const https = require('https');
|
||||
|
||||
const options = {
|
||||
key: fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem'),
|
||||
cert: fs.readFileSync(common.fixturesDir + '/keys/agent1-cert.pem')
|
||||
key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`),
|
||||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`)
|
||||
};
|
||||
|
||||
const body = 'hello world\n';
|
||||
|
||||
Reference in new issue
Block a user