diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/045_proxy_test.ts | 4 | ||||
-rw-r--r-- | cli/tests/lock_write_fetch.ts | 6 | ||||
-rw-r--r-- | cli/tests/permission_test.ts | 2 |
3 files changed, 6 insertions, 6 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", diff --git a/cli/tests/lock_write_fetch.ts b/cli/tests/lock_write_fetch.ts index 7d597724d..206a2f864 100644 --- a/cli/tests/lock_write_fetch.ts +++ b/cli/tests/lock_write_fetch.ts @@ -5,7 +5,7 @@ try { const fetchProc = Deno.run({ stdout: "null", stderr: "null", - args: [ + cmd: [ Deno.execPath(), "fetch", "--reload", @@ -21,7 +21,7 @@ console.log(`fetch code: ${fetchCode}`); const fetchCheckProc = Deno.run({ stdout: "null", stderr: "null", - args: [ + cmd: [ Deno.execPath(), "fetch", "--lock=lock_write_fetch.json", @@ -35,7 +35,7 @@ console.log(`fetch check code: ${fetchCheckProcCode}`); const runProc = Deno.run({ stdout: "null", stderr: "null", - args: [Deno.execPath(), "--lock=lock_write_fetch.json", "https_import.ts"] + cmd: [Deno.execPath(), "--lock=lock_write_fetch.json", "https_import.ts"] }); const runCode = (await runProc.status()).code; diff --git a/cli/tests/permission_test.ts b/cli/tests/permission_test.ts index 11b95cf3a..33c3859cb 100644 --- a/cli/tests/permission_test.ts +++ b/cli/tests/permission_test.ts @@ -18,7 +18,7 @@ const test: { [key: string]: Function } = { }, runRequired(): void { run({ - args: [ + cmd: [ "python", "-c", "import sys; sys.stdout.write('hello'); sys.stdout.flush()" |