summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/prototype/finally/this-value-then-throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/prototype/finally/this-value-then-throws.js')
-rw-r--r--test/built-ins/Promise/prototype/finally/this-value-then-throws.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Promise/prototype/finally/this-value-then-throws.js b/test/built-ins/Promise/prototype/finally/this-value-then-throws.js
index 7fff8d51a..e8603f88e 100644
--- a/test/built-ins/Promise/prototype/finally/this-value-then-throws.js
+++ b/test/built-ins/Promise/prototype/finally/this-value-then-throws.js
@@ -9,7 +9,7 @@ esid: sec-promise.prototype.finally
features: [Promise.prototype.finally]
---*/
-var thrower = new Promise(function () {});
+var thrower = new Promise(function() {});
thrower.then = function() {
throw new Test262Error();
};