diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/error_024_stack_promise_all.ts | 1 | ||||
-rw-r--r-- | cli/tests/error_024_stack_promise_all.ts.out | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cli/tests/error_024_stack_promise_all.ts b/cli/tests/error_024_stack_promise_all.ts index 5334e8d77..ddaf0dbaa 100644 --- a/cli/tests/error_024_stack_promise_all.ts +++ b/cli/tests/error_024_stack_promise_all.ts @@ -1,4 +1,5 @@ const p = Promise.all([ + Promise.resolve(), (async (): Promise<never> => { await Promise.resolve(); throw new Error("Promise.all()"); diff --git a/cli/tests/error_024_stack_promise_all.ts.out b/cli/tests/error_024_stack_promise_all.ts.out index 38cb4ac31..e5528d6ab 100644 --- a/cli/tests/error_024_stack_promise_all.ts.out +++ b/cli/tests/error_024_stack_promise_all.ts.out @@ -1,8 +1,8 @@ [WILDCARD]Error: Promise.all() at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] - at async Promise.all (index 0) + at async Promise.all (index 1) at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] error: Uncaught Error: Promise.all() at [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] - at async Promise.all (index 0) + at async Promise.all (index 1) at async [WILDCARD]tests/error_024_stack_promise_all.ts:[WILDCARD] |