summaryrefslogtreecommitdiff
path: root/tests/testdata/run/set_exit_code_2.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/set_exit_code_2.ts')
-rw-r--r--tests/testdata/run/set_exit_code_2.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdata/run/set_exit_code_2.ts b/tests/testdata/run/set_exit_code_2.ts
new file mode 100644
index 000000000..48469c17d
--- /dev/null
+++ b/tests/testdata/run/set_exit_code_2.ts
@@ -0,0 +1,2 @@
+Deno[Deno.internal].core.ops.op_set_exit_code(42);
+// Exits naturally.