test: use const for all require() calls

PR-URL: https://github.com/nodejs/node/pull/10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
cjihrig authored and Italo A. Casas committed 2017-01-30 12:08:31 -05:00
1 parent 5250b3358e
commit dd9aefde69
603 files changed
+1567 -1546

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@
// result of the entire buffer.
require('../common');
var assert = require('assert');
var SD = require('string_decoder').StringDecoder;
const assert = require('assert');
const SD = require('string_decoder').StringDecoder;
var encodings = ['base64', 'hex', 'utf8', 'utf16le', 'ucs2'];
var bufs = [ '☃💩', 'asdf' ].map(function(b) {