diff --git a/test/built-ins/Promise/all/resolve-not-callable-close.js b/test/built-ins/Promise/all/resolve-not-callable-close.js index c97895bd36..6d73880749 100644 --- a/test/built-ins/Promise/all/resolve-not-callable-close.js +++ b/test/built-ins/Promise/all/resolve-not-callable-close.js @@ -30,7 +30,7 @@ const iter = {  [Symbol.iterator]: function() { return { return: function() { - returnCount += 1; + ++returnCount; } }; } diff --git a/test/built-ins/Promise/allSettled/resolve-not-callable-close.js b/test/built-ins/Promise/allSettled/resolve-not-callable-close.js index f3e6b0152e..598bba2ac7 100644 --- a/test/built-ins/Promise/allSettled/resolve-not-callable-close.js +++ b/test/built-ins/Promise/allSettled/resolve-not-callable-close.js @@ -27,7 +27,7 @@ const iter = {  [Symbol.iterator]: function() { return { return: function() { - returnCount += 1; + ++returnCount; } }; } diff --git a/test/built-ins/Promise/any/resolve-not-callable-close.js b/test/built-ins/Promise/any/resolve-not-callable-close.js index 30eae98b66..24b4567f5e 100644 --- a/test/built-ins/Promise/any/resolve-not-callable-close.js +++ b/test/built-ins/Promise/any/resolve-not-callable-close.js @@ -27,7 +27,7 @@ const iter = {  [Symbol.iterator]: function() { return { return: function() { - returnCount += 1; + ++returnCount; } }; } diff --git a/test/built-ins/Promise/race/resolve-not-callable-close.js b/test/built-ins/Promise/race/resolve-not-callable-close.js index 132928d3bd..991fa81401 100644 --- a/test/built-ins/Promise/race/resolve-not-callable-close.js +++ b/test/built-ins/Promise/race/resolve-not-callable-close.js @@ -30,7 +30,7 @@ const iter = {  [Symbol.iterator]: function() { return { return: function() { - returnCount += 1; + ++returnCount; } }; }