Skip to content

Commit 8a34e60

Browse files
sam-githubitaloacasas
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
'use strict';
2-
var assert = require('assert');
3-
var common = require('../common');
2+
const assert = require('assert');
3+
const common = require('../common');
44

55
if (!common.hasCrypto) {
66
common.skip('missing crypto');
77
return;
88
}
9-
var tls = require('tls');
9+
const tls = 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)