summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/prototype/finally/this-value-then-not-callable.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/Promise/prototype/finally/this-value-then-not-callable.js
parent7b01f9799f99851955f23c18c12e6651c1941022 (diff)
downloadqtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js')
-rw-r--r--test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js b/test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js
index cdeccdadd..253e22fe3 100644
--- a/test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js
+++ b/test/built-ins/Promise/prototype/finally/this-value-then-not-callable.js
@@ -11,9 +11,11 @@ features: [Symbol, Promise.prototype.finally]
var symbol = Symbol();
-var thrower = function () { throw new Test262Error('this should never happen'); };
+var thrower = function() {
+ throw new Test262Error('this should never happen');
+};
-var p = new Promise(function () {});
+var p = new Promise(function() {});
p.then = undefined;
assert.throws(TypeError, function() {