diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/built-ins/Array/prototype/flatMap/depth-always-one.js | 2 | ||||
-rw-r--r-- | test/built-ins/Promise/prototype/finally/subclass-species-constructor-resolve-count.js | 1 |
2 files changed, 1 insertions, 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 83b7b5f72..851a9a744 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 f34a795a2..db1b151cd 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 { |