mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: use consistent block spacing
In preparation for enabling an ESLint rule, use consistent block
spacing. This changes only six files in the code base as block spacing
is consistent throughout the rest of the code base.
Before: function(c) {data += c;}
After: function(c) { data += c; }
PR-URL: https://github.com/nodejs/node/pull/10377
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Julian Duque <julianduquej@gmail.com>
This commit is contained in:
1 parent
20665f408b
commit
d7a36fc2da
6 files changed
+23
-23
No files matched your search
@@ -1020,7 +1020,7 @@ assert.throws(() => Buffer.from('', 'buffer'), TypeError);
|
||||
{
|
||||
let a = [0];
|
||||
for (let i = 0; i < 7; ++i) a = a.concat(a);
|
||||
a = a.map((_, i) => {return i;});
|
||||
a = a.map((_, i) => { return i; });
|
||||
const b = Buffer.from(a);
|
||||
const c = Buffer.from(b);
|
||||
assert.strictEqual(b.length, a.length);
|
||||
|
||||
Reference in new issue
Block a user