diff options
author | Rich Trott <rtrott@gmail.com> | 2016-12-20 21:54:04 -0800 |
---|---|---|
committer | Julian Duque <julianduquej@gmail.com> | 2016-12-21 11:21:44 -0500 |
commit | ece3e37cfa29557a8bfa6069b8d5e37fa46e7890 (patch) | |
tree | b1b691c33b4d37dee92789f7231b50fc209d8269 /test/parallel/test-buffer-alloc.js | |
parent | b73402d97ae859eec4fb5edd122014e54aad8430 (diff) | |
download | android-node-v8-ece3e37cfa29557a8bfa6069b8d5e37fa46e7890.tar.gz android-node-v8-ece3e37cfa29557a8bfa6069b8d5e37fa46e7890.tar.bz2 android-node-v8-ece3e37cfa29557a8bfa6069b8d5e37fa46e7890.zip |
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>
Diffstat (limited to 'test/parallel/test-buffer-alloc.js')
-rw-r--r-- | test/parallel/test-buffer-alloc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-buffer-alloc.js b/test/parallel/test-buffer-alloc.js index 216f9c83f7..374b1c06c8 100644 --- a/test/parallel/test-buffer-alloc.js +++ b/test/parallel/test-buffer-alloc.js @@ -988,7 +988,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); |