diff options
Diffstat (limited to 'test/built-ins/Promise/prototype/finally/invokes-then-with-function.js')
-rw-r--r-- | test/built-ins/Promise/prototype/finally/invokes-then-with-function.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js b/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js index 648b7dd6f..697bea0b3 100644 --- a/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js +++ b/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js @@ -7,7 +7,7 @@ esid: sec-promise.prototype.finally features: [Promise.prototype.finally] ---*/ -var target = new Promise(function () {}); +var target = new Promise(function() {}); var returnValue = {}; var callCount = 0; var thisValue = null; @@ -26,8 +26,8 @@ target.then = function(a, b) { return returnValue; }; -var originalFinallyHandler = function () {}; -var anonName = Object(function () {}).name; +var originalFinallyHandler = function() {}; +var anonName = Object(function() {}).name; var result = Promise.prototype.finally.call(target, originalFinallyHandler, 2, 3); |