aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-url-format-whatwg.js
diff options
context:
space:
mode:
authorSebastiaan Deckers <sebdeckers83@gmail.com>2017-07-10 20:55:21 -0400
committerRefael Ackermann <refack@gmail.com>2017-07-21 15:13:47 -0400
commitbb294059040def8e8c0b1719cc17f6537ab5cb39 (patch)
treeacc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/parallel/test-url-format-whatwg.js
parent4f875222445b07016a8294fa5a5bf7418c735489 (diff)
downloadandroid-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-url-format-whatwg.js')
-rw-r--r--test/parallel/test-url-format-whatwg.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/parallel/test-url-format-whatwg.js b/test/parallel/test-url-format-whatwg.js
index d6afe46426..9174c5a274 100644
--- a/test/parallel/test-url-format-whatwg.js
+++ b/test/parallel/test-url-format-whatwg.js
@@ -36,76 +36,76 @@ assert.strictEqual(
// Any truthy value will be treated as true.
assert.strictEqual(
- url.format(myURL, {fragment: false}),
+ url.format(myURL, { fragment: false }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b'
);
assert.strictEqual(
- url.format(myURL, {fragment: ''}),
+ url.format(myURL, { fragment: '' }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b'
);
assert.strictEqual(
- url.format(myURL, {fragment: 0}),
+ url.format(myURL, { fragment: 0 }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b'
);
assert.strictEqual(
- url.format(myURL, {fragment: 1}),
+ url.format(myURL, { fragment: 1 }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {fragment: {}}),
+ url.format(myURL, { fragment: {} }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {search: false}),
+ url.format(myURL, { search: false }),
'http://xn--lck1c3crb1723bpq4a.com/a#c'
);
assert.strictEqual(
- url.format(myURL, {search: ''}),
+ url.format(myURL, { search: '' }),
'http://xn--lck1c3crb1723bpq4a.com/a#c'
);
assert.strictEqual(
- url.format(myURL, {search: 0}),
+ url.format(myURL, { search: 0 }),
'http://xn--lck1c3crb1723bpq4a.com/a#c'
);
assert.strictEqual(
- url.format(myURL, {search: 1}),
+ url.format(myURL, { search: 1 }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {search: {}}),
+ url.format(myURL, { search: {} }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {unicode: true}),
+ url.format(myURL, { unicode: true }),
'http://理容ナカムラ.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {unicode: 1}),
+ url.format(myURL, { unicode: 1 }),
'http://理容ナカムラ.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {unicode: {}}),
+ url.format(myURL, { unicode: {} }),
'http://理容ナカムラ.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {unicode: false}),
+ url.format(myURL, { unicode: false }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);
assert.strictEqual(
- url.format(myURL, {unicode: 0}),
+ url.format(myURL, { unicode: 0 }),
'http://xn--lck1c3crb1723bpq4a.com/a?a=b#c'
);