summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/GeneratorFunction.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-09 11:35:37 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-09 11:35:37 -0500
commita01de4a722d088055a7d84d8c691ddd7109edb34 (patch)
treef583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/Function/prototype/toString/GeneratorFunction.js
parent7b01f9799f99851955f23c18c12e6651c1941022 (diff)
downloadqtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Function/prototype/toString/GeneratorFunction.js')
-rw-r--r--test/built-ins/Function/prototype/toString/GeneratorFunction.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Function/prototype/toString/GeneratorFunction.js b/test/built-ins/Function/prototype/toString/GeneratorFunction.js
index 523f1cd2a..35a5a7a7e 100644
--- a/test/built-ins/Function/prototype/toString/GeneratorFunction.js
+++ b/test/built-ins/Function/prototype/toString/GeneratorFunction.js
@@ -7,7 +7,7 @@ description: Function.prototype.toString on a generator function created with th
features: [generators]
---*/
-let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor;
-let g = /* before */GeneratorFunction("a", " /* a */ b, c /* b */ //", "/* c */ yield yield; /* d */ //")/* after */;
+let GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor;
+let g = /* before */ GeneratorFunction("a", " /* a */ b, c /* b */ //", "/* c */ yield yield; /* d */ //") /* after */ ;
assert.sameValue(g.toString(), "function* anonymous(a, /* a */ b, c /* b */ //\n) {\n/* c */ yield yield; /* d */ //\n}");