summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-06-13 23:53:04 +0200
committerGitHub <noreply@github.com>2022-06-13 23:53:04 +0200
commitfc3a966a2d0be8fc76c384603bf18b55e0bbcf14 (patch)
tree2a3425488e0a199c035efbdde35c45cae1c22fb7 /cli/tests/integration/run_tests.rs
parent4a0a412d7cd077ff519b4da8f6ffd1247c6375a5 (diff)
Deno.exit() is an alias to self.close() in worker contexts (#14826)
This commit changes Deno.exit() to be an alias to self.close() in worker contexts, and the provided exit code becomes is ignored.
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 7ea95c312..aed1fe0fe 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -903,10 +903,10 @@ itest!(set_exit_code_2 {
exit_code: 42,
});
-itest!(set_exit_code_in_worker {
- args: "run --no-check --unstable --allow-read set_exit_code_in_worker.ts",
+itest!(op_exit_op_set_exit_code_in_worker {
+ args: "run --no-check --unstable --allow-read op_exit_op_set_exit_code_in_worker.ts",
+ exit_code: 21,
output: "empty.out",
- exit_code: 42,
});
itest!(deno_exit_tampering {