From 82c6148980332febe92a544a1fb653718e9fdb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= <andre.bargull@gmail.com> Date: Thu, 1 Feb 2018 11:04:51 -0800 Subject: [PATCH] Add missing closing parenthesis and remove invalid async flag (#1402) --- test/built-ins/Array/prototype/flatMap/depth-always-one.js | 2 +- .../finally/subclass-species-constructor-resolve-count.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/built-ins/Array/prototype/flatMap/depth-always-one.js b/test/built-ins/Array/prototype/flatMap/depth-always-one.js index 83b7b5f729..851a9a7449 100644 --- a/test/built-ins/Array/prototype/flatMap/depth-always-one.js +++ b/test/built-ins/Array/prototype/flatMap/depth-always-one.js @@ -14,7 +14,7 @@ assert.compareArray([1, 2].flatMap(function(e) { var result = [1, 2, 3].flatMap(function(ele) { return [[ele * 2]]; -}; +}); assert.sameValue(result.length, 3, 'array depth is more than 1 - length'); assert.compareArray(result[0], [2], 'array depth is more than 1 - 1st element'); assert.compareArray(result[1], [4], 'array depth is more than 1 - 2nd element'); diff --git a/test/built-ins/Promise/prototype/finally/subclass-species-constructor-resolve-count.js b/test/built-ins/Promise/prototype/finally/subclass-species-constructor-resolve-count.js index f34a795a23..db1b151cdd 100644 --- a/test/built-ins/Promise/prototype/finally/subclass-species-constructor-resolve-count.js +++ b/test/built-ins/Promise/prototype/finally/subclass-species-constructor-resolve-count.js @@ -5,7 +5,6 @@ author: Jordan Harband description: finally on resolved Promise calls the SpeciesConstructor esid: sec-promise.prototype.finally features: [Promise.prototype.finally] -flags: [async] ---*/ class FooPromise extends Promise { -- GitLab