Skip to content

Commit 776cfc5

Browse files
bjdelroaddaleax
authored andcommitted
test: change var to const in test-tls-key-mismatch.js
PR-URL: #9897 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f3ef0d9 commit 776cfc5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎test/parallel/test-tls-key-mismatch.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
'use strict';
2-
varcommon=require('../common');
3-
varassert=require('assert');
2+
constcommon=require('../common');
43

54
if(!common.hasCrypto){
65
common.skip('missing crypto');
76
return;
87
}
9-
vartls=require('tls');
10-
varfs=require('fs');
8+
constassert=require('assert');
9+
consttls=require('tls');
10+
constfs=require('fs');
1111

12-
varoptions={
12+
constoptions={
1313
key: fs.readFileSync(common.fixturesDir+'/keys/agent1-key.pem'),
1414
cert: fs.readFileSync(common.fixturesDir+'/keys/agent2-cert.pem')
1515
};

0 commit comments

Comments
(0)