From e39d4e3e7fb9815bf094e7321d1d73d00275831a Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sun, 21 Aug 2022 12:57:10 +0100 Subject: fix(core/runtime): always cancel termination in exception handling (#15514) --- cli/tests/integration/run_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/integration/run_tests.rs') diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index adaa6d49d..9c60cc745 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2738,6 +2738,13 @@ itest!(report_error_handled { output: "report_error_handled.ts.out", }); +// Regression test for https://github.com/denoland/deno/issues/15513. +itest!(report_error_end_of_program { + args: "run --quiet report_error_end_of_program.ts", + output: "report_error_end_of_program.ts.out", + exit_code: 1, +}); + itest!(spawn_stdout_inherit { args: "run --quiet --unstable -A spawn_stdout_inherit.ts", output: "spawn_stdout_inherit.ts.out", -- cgit v1.2.3