summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/set_exit_code_1.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/set_exit_code_1.ts')
-rw-r--r--cli/tests/testdata/set_exit_code_1.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/set_exit_code_1.ts b/cli/tests/testdata/set_exit_code_1.ts
new file mode 100644
index 000000000..96ec9889c
--- /dev/null
+++ b/cli/tests/testdata/set_exit_code_1.ts
@@ -0,0 +1,2 @@
+Deno.core.opSync("op_set_exit_code", 42);
+Deno.exit();