mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
5250b3358e
commit
dd9aefde69
603 files changed
+1567
-1546
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user