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 italoacasas committed Dec 17, 2016
1 parent 8e4b9fa commit 8a34e60
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 8a34e60

Please sign in to comment.