From b8a5c29bf8e04bb6210080a05ce34e9a8d1d1496 Mon Sep 17 00:00:00 2001 From: Akshat Agarwal Date: Sun, 22 Mar 2020 03:14:18 +0530 Subject: 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. --- std/examples/tests/xeval_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/examples/tests/xeval_test.ts') diff --git a/std/examples/tests/xeval_test.ts b/std/examples/tests/xeval_test.ts index db11c215c..92e9e1bfe 100644 --- a/std/examples/tests/xeval_test.ts +++ b/std/examples/tests/xeval_test.ts @@ -29,7 +29,7 @@ Deno.test({ name: "xevalCliReplvar", fn: async function(): Promise { const p = run({ - args: [execPath(), xevalPath, "--replvar=abc", "console.log(abc)"], + cmd: [execPath(), xevalPath, "--replvar=abc", "console.log(abc)"], stdin: "piped", stdout: "piped", stderr: "null" @@ -45,7 +45,7 @@ Deno.test({ Deno.test(async function xevalCliSyntaxError(): Promise { const p = run({ - args: [execPath(), xevalPath, "("], + cmd: [execPath(), xevalPath, "("], stdin: "null", stdout: "piped", stderr: "piped" -- cgit v1.2.3