summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-getcipher.js
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-04-28 04:06:42 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-05-05 17:39:05 +0300
commit8b76c3e60c7b5c274c757257580a2c0faae69097 (patch)
treea9f686995887dbeb0b5c5b23c5f3188987c99b2e /test/parallel/test-tls-getcipher.js
parent6bcf65d4a788a73b3c3f27d75796609f948f7885 (diff)
downloadnode-new-8b76c3e60c7b5c274c757257580a2c0faae69097.tar.gz
test: reduce string concatenations
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>
Diffstat (limited to 'test/parallel/test-tls-getcipher.js')
-rw-r--r--test/parallel/test-tls-getcipher.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tls-getcipher.js b/test/parallel/test-tls-getcipher.js
index 0330aa2085..d2c5b9eab4 100644
--- a/test/parallel/test-tls-getcipher.js
+++ b/test/parallel/test-tls-getcipher.js
@@ -33,8 +33,8 @@ const fs = require('fs');
const cipher_list = ['AES128-SHA256', 'AES256-SHA256'];
const cipher_version_pattern = /TLS|SSL/;
const options = {
- key: fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem'),
- cert: fs.readFileSync(common.fixturesDir + '/keys/agent2-cert.pem'),
+ key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`),
+ cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`),
ciphers: cipher_list.join(':'),
honorCipherOrder: true
};