summaryrefslogtreecommitdiff
path: root/std/installer/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'std/installer/testdata')
-rw-r--r--std/installer/testdata/args.ts2
-rw-r--r--std/installer/testdata/echo.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/std/installer/testdata/args.ts b/std/installer/testdata/args.ts
index 484cab5ab..1c0ec0687 100644
--- a/std/installer/testdata/args.ts
+++ b/std/installer/testdata/args.ts
@@ -6,4 +6,4 @@ function args(args: string[]) {
Deno.stdout.write(new TextEncoder().encode(JSON.stringify(map)));
}
-args(Deno.args.slice(1));
+args(Deno.args);
diff --git a/std/installer/testdata/echo.ts b/std/installer/testdata/echo.ts
index 62ddd6d05..84a645433 100644
--- a/std/installer/testdata/echo.ts
+++ b/std/installer/testdata/echo.ts
@@ -3,4 +3,4 @@ function echo(args: string[]) {
Deno.stdout.write(new TextEncoder().encode(msg));
}
-echo(Deno.args.slice(1));
+echo(Deno.args);