diff options
author | cjihrig <cjihrig@gmail.com> | 2016-12-30 18:38:06 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-01-02 18:28:18 -0500 |
commit | ff1efa60878d8353e1b8e36684a786bdf57963fb (patch) | |
tree | 31399a1732ff2b91374fdcaaf2d5d0976b6a00a7 /test/internet/test-http-https-default-ports.js | |
parent | 1605a2e02ae6887e57292543489c76eef5c545d0 (diff) | |
download | node-new-ff1efa60878d8353e1b8e36684a786bdf57963fb.tar.gz |
test: use const for all require() calls
PR-URL: https://github.com/nodejs/node/pull/10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/internet/test-http-https-default-ports.js')
-rw-r--r-- | test/internet/test-http-https-default-ports.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/internet/test-http-https-default-ports.js b/test/internet/test-http-https-default-ports.js index 8b00e434e9..c7e6b3baf7 100644 --- a/test/internet/test-http-https-default-ports.js +++ b/test/internet/test-http-https-default-ports.js @@ -1,13 +1,13 @@ 'use strict'; -var common = require('../common'); +const common = require('../common'); if (!common.hasCrypto) { common.skip('missing crypto'); return; } -var https = require('https'); +const https = require('https'); -var http = require('http'); +const http = require('http'); https.get('https://www.google.com/', common.mustCall(function(res) { res.resume(); |