1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/cli/tests/test/exit_sanitizer.ts
2021-06-29 15:40:16 +02:00

11 lines
167 B
TypeScript

Deno.test("exit(0)", function () {
Deno.exit(0);
});
Deno.test("exit(1)", function () {
Deno.exit(1);
});
Deno.test("exit(2)", function () {
Deno.exit(2);
});