summaryrefslogtreecommitdiff
path: root/tests/specs/run/exit_error42/exit_error42.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/exit_error42/exit_error42.ts')
-rw-r--r--tests/specs/run/exit_error42/exit_error42.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/specs/run/exit_error42/exit_error42.ts b/tests/specs/run/exit_error42/exit_error42.ts
new file mode 100644
index 000000000..e4db41f3a
--- /dev/null
+++ b/tests/specs/run/exit_error42/exit_error42.ts
@@ -0,0 +1,3 @@
+console.log("before");
+Deno.exit(42);
+console.log("after");