Skip to content

Commit 8a34e60

Browse files
sam-githubItalo A. Casas
authored andcommitted
test: var to const in tls-no-cert-required
PR-URL: #9800 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 8e4b9fa commit 8a34e60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎test/parallel/test-tls-no-cert-required.js‎

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

55
if(!common.hasCrypto){
66
common.skip('missing crypto');
77
return;
88
}
9-
vartls=require('tls');
9+
consttls=require('tls');
1010

1111
// Omitting the cert or pfx option to tls.createServer() should not throw.
1212
// AECDH-NULL-SHA is a no-authentication/no-encryption cipher and hence

0 commit comments

Comments
(0)