summaryrefslogtreecommitdiff
path: root/std/installer/testdata/echo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/installer/testdata/echo.ts')
m---------std0
-rw-r--r--std/installer/testdata/echo.ts6
2 files changed, 6 insertions, 0 deletions
diff --git a/std b/std
deleted file mode 160000
-Subproject 43aafbf33285753e7b42230f0eb7969b300f71c
diff --git a/std/installer/testdata/echo.ts b/std/installer/testdata/echo.ts
new file mode 100644
index 000000000..62ddd6d05
--- /dev/null
+++ b/std/installer/testdata/echo.ts
@@ -0,0 +1,6 @@
+function echo(args: string[]) {
+ const msg = args.join(", ");
+ Deno.stdout.write(new TextEncoder().encode(msg));
+}
+
+echo(Deno.args.slice(1));