From 429c60ec388d20fbdd42bfe17f93d019c9163b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marja=20H=C3=B6ltt=C3=A4?= Date: Tue, 28 Apr 2020 10:38:01 +0200 Subject: [PATCH] fix --- test/built-ins/Promise/all/resolve-not-callable-close.js | 2 +- test/built-ins/Promise/allSettled/resolve-not-callable-close.js | 2 +- test/built-ins/Promise/any/resolve-not-callable-close.js | 2 +- test/built-ins/Promise/race/resolve-not-callable-close.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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; } }; }