1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests/testdata/test/exit_sanitizer.ts

12 lines
167 B
TypeScript
Raw Normal View History

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