diff options
author | André Bargull <andre.bargull@gmail.com> | 2018-02-01 11:04:51 -0800 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-01 14:04:51 -0500 |
commit | 82c6148980332febe92a544a1fb653718e9fdb57 (patch) | |
tree | 8f73cf48a6a7070b876057b8c5b93dffc177a4dd /test | |
parent | 03da22868a3e0b9ecdee4a5d754c72df93baf995 (diff) | |
download | qtdeclarative-testsuites-82c6148980332febe92a544a1fb653718e9fdb57.tar.gz |
Add missing closing parenthesis and remove invalid async flag (#1402)
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 { |