Skip to content

Commit

Permalink
test: var to const in tls-no-cert-required
Browse files Browse the repository at this point in the history
PR-URL: #9800
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
sam-github authored and MylesBorins committed Jan 24, 2017
1 parent 1648f88 commit 75821ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-tls-no-cert-required.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';
var assert = require('assert');
var common = require('../common');
const assert = require('assert');
const common = require('../common');

if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}
var tls = require('tls');
const tls = require('tls');

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

0 comments on commit 75821ba

Please sign in to comment.