Skip to content

Commit 75821ba

Browse files
sam-githubMylesBorins
authored andcommitted
test: var to const in tls-no-cert-required
PR-URL: #9800 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 1648f88 commit 75821ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎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)