test262/test/built-ins/Promise/race
Mike Pennisi c44cee291a Assert array equivalency
The `compareArray` utility function returns a boolean value describing
whether or not the input arrays are equivalent--it does not throw an
exception when invoked with non-equivalent arrays. Prior to this commit,
however, two tests invoked `compareArray` without inspecting its return
value, so it had no impact on the result of the test.

Update the tests to fail when the "expected" and "actual" arrays are not
equivalent.
2021-10-04 15:38:08 -04:00
..
S25.4.4.3_A1.1_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A2.1_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A2.2_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A2.2_T2.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A2.2_T3.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A3.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A3.1_T2.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A4.1_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A4.1_T2.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A5.1_T1.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
S25.4.4.3_A6.1_T1.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A6.2_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.1_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.1_T2.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.1_T3.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.2_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.3_T1.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
S25.4.4.3_A7.3_T2.js Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
capability-executor-called-twice.js Fix tests for new resolve lookup 2019-04-24 17:28:01 -04:00
capability-executor-not-callable.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
ctx-ctor-throws.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
ctx-ctor.js Add missing mandatory Promise.{all,race} argument 2018-11-08 09:37:56 +01:00
ctx-non-ctor.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
ctx-non-object.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-resolve-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-resolve-error-reject.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
invoke-resolve-get-error-reject.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
invoke-resolve-get-error.js Update Promise.race tests 2020-06-03 15:49:04 -04:00
invoke-resolve-get-once-multiple-calls.js Add tests for Promise.all|race resolve lookup 2019-04-24 17:28:01 -04:00
invoke-resolve-get-once-no-calls.js Add tests for Promise.all|race resolve lookup 2019-04-24 17:28:01 -04:00
invoke-resolve-on-promises-every-iteration-of-custom.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-on-promises-every-iteration-of-promise.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-on-values-every-iteration-of-promise.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-return.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-resolve.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-then-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then-error-reject.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
invoke-then-get-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then-get-error-reject.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
invoke-then.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
iter-arg-is-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-string-resolve.js Fix various test bugs (#1502) 2018-03-22 16:36:57 -04:00
iter-arg-is-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-string-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-next-val-err-no-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iter-next-val-err-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iter-returns-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-string-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-step-err-no-close.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
iter-step-err-reject.js chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
length.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
name.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
not-a-constructor.js Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
prop-desc.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
reject-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-from-same-thenable.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
reject-ignored-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-ignored-immed.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
reject-immed.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-from-same-thenable.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
resolve-ignores-late-rejection-deferred.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolve-ignores-late-rejection.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolve-non-callable.js Update Promise.race tests 2020-06-03 15:49:04 -04:00
resolve-non-obj.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-non-thenable.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-poisoned-then.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-prms-cstm-then.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-self.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-thenable.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolved-sequence-extra-ticks.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolved-sequence-mixed.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolved-sequence-with-rejections.js Assert array equivalency 2021-10-04 15:38:08 -04:00
resolved-sequence.js Assert array equivalency 2021-10-04 15:38:08 -04:00
resolved-then-catch-finally.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
same-reject-function.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
same-resolve-function.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
species-get-error.js Fix tests for new resolve lookup 2019-04-24 17:28:01 -04:00