summaryrefslogtreecommitdiff
path: root/cli/tests/045_proxy_test.ts
diff options
context:
space:
mode:
authorAkshat Agarwal <humancalico@disroot.org>2020-03-22 03:14:18 +0530
committerGitHub <noreply@github.com>2020-03-21 17:44:18 -0400
commitb8a5c29bf8e04bb6210080a05ce34e9a8d1d1496 (patch)
tree4e5788c62165789b12c77534923db9dd2d2c57a3 /cli/tests/045_proxy_test.ts
parentb191c919f3bde46fe7e0112a33f060715b50b9a4 (diff)
BREAKING CHANGE Rename Deno.run's args to cmd (#4444)
This is to avoid confusion with Deno.args which does not include the executable to be run.
Diffstat (limited to 'cli/tests/045_proxy_test.ts')
-rw-r--r--cli/tests/045_proxy_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts
index e9629db37..98293c2a0 100644
--- a/cli/tests/045_proxy_test.ts
+++ b/cli/tests/045_proxy_test.ts
@@ -24,7 +24,7 @@ async function proxyRequest(req: ServerRequest): Promise<void> {
async function testFetch(): Promise<void> {
const c = Deno.run({
- args: [Deno.execPath(), "--reload", "--allow-net", "045_proxy_client.ts"],
+ cmd: [Deno.execPath(), "--reload", "--allow-net", "045_proxy_client.ts"],
stdout: "piped",
env: {
HTTP_PROXY: `http://${addr}`
@@ -38,7 +38,7 @@ async function testFetch(): Promise<void> {
async function testModuleDownload(): Promise<void> {
const http = Deno.run({
- args: [
+ cmd: [
Deno.execPath(),
"--reload",
"fetch",