summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/race/invoke-then-get-error-close.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/race/invoke-then-get-error-close.js')
-rw-r--r--test/built-ins/Promise/race/invoke-then-get-error-close.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/built-ins/Promise/race/invoke-then-get-error-close.js b/test/built-ins/Promise/race/invoke-then-get-error-close.js
index 9dbb52017..93f095ee2 100644
--- a/test/built-ins/Promise/race/invoke-then-get-error-close.js
+++ b/test/built-ins/Promise/race/invoke-then-get-error-close.js
@@ -30,10 +30,7 @@ var returnCount = 0;
iter[Symbol.iterator] = function() {
return {
next: function() {
- return {
- done: false,
- value: promise
- };
+ return { done: false, value: promise };
},
return: function() {
returnCount += 1;