From 100b3b4afe88c765373755ad61066c350fa23db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Thu, 18 Oct 2018 09:02:25 -0700 Subject: [PATCH] Add missing includes for await tests (#1874) --- test/language/expressions/await/async-await-interleaved.js | 1 + test/language/expressions/await/async-generator-interleaved.js | 1 + test/language/expressions/await/await-monkey-patched-promise.js | 1 + test/language/expressions/await/await-non-promise-thenable.js | 1 + test/language/expressions/await/await-non-promise.js | 1 + test/language/expressions/await/for-await-of-interleaved.js | 1 + 6 files changed, 6 insertions(+) diff --git a/test/language/expressions/await/async-await-interleaved.js b/test/language/expressions/await/async-await-interleaved.js index 33cde9f685..fdec340027 100644 --- a/test/language/expressions/await/async-await-interleaved.js +++ b/test/language/expressions/await/async-await-interleaved.js @@ -9,6 +9,7 @@ description: > meaning await takes only 1 tick on the microtask queue. flags: [async] features: [async-functions] +includes: [compareArray.js] ---*/ const actual = []; diff --git a/test/language/expressions/await/async-generator-interleaved.js b/test/language/expressions/await/async-generator-interleaved.js index fdc3076eed..8fa471b3fc 100644 --- a/test/language/expressions/await/async-generator-interleaved.js +++ b/test/language/expressions/await/async-generator-interleaved.js @@ -9,6 +9,7 @@ description: > interleaved, meaning await takes only 1 tick on the microtask queue. flags: [async] features: [async-functions] +includes: [compareArray.js] ---*/ const actual = []; diff --git a/test/language/expressions/await/await-monkey-patched-promise.js b/test/language/expressions/await/await-monkey-patched-promise.js index ff2bebe6ea..1856e4e97d 100644 --- a/test/language/expressions/await/await-monkey-patched-promise.js +++ b/test/language/expressions/await/await-monkey-patched-promise.js @@ -10,6 +10,7 @@ description: > https://github.com/tc39/ecma262/pull/1250#issuecomment-401082195 flags: [async] features: [async-functions] +includes: [compareArray.js] ---*/ let thenCallCount = 0; diff --git a/test/language/expressions/await/await-non-promise-thenable.js b/test/language/expressions/await/await-non-promise-thenable.js index 0efa2d688c..dea870e437 100644 --- a/test/language/expressions/await/await-non-promise-thenable.js +++ b/test/language/expressions/await/await-non-promise-thenable.js @@ -9,6 +9,7 @@ description: > will still get called. flags: [async] features: [async-functions] +includes: [compareArray.js] ---*/ let thenCallCount = 0; diff --git a/test/language/expressions/await/await-non-promise.js b/test/language/expressions/await/await-non-promise.js index dadef94fcb..04648124b8 100644 --- a/test/language/expressions/await/await-non-promise.js +++ b/test/language/expressions/await/await-non-promise.js @@ -9,6 +9,7 @@ description: > will still get called. flags: [async] features: [async-functions] +includes: [compareArray.js] ---*/ const value = 1; diff --git a/test/language/expressions/await/for-await-of-interleaved.js b/test/language/expressions/await/for-await-of-interleaved.js index f8cf07d70a..c3c590d24a 100644 --- a/test/language/expressions/await/for-await-of-interleaved.js +++ b/test/language/expressions/await/for-await-of-interleaved.js @@ -9,6 +9,7 @@ description: > meaning await in for-of loop takes only 1 tick on the microtask queue. flags: [async] features: [async-functions, async-iteration] +includes: [compareArray.js] ---*/ const actual = [];