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/http/server_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/http/server_test.ts') diff --git a/std/http/server_test.ts b/std/http/server_test.ts index d37111620..d9ce3ba97 100644 --- a/std/http/server_test.ts +++ b/std/http/server_test.ts @@ -358,7 +358,7 @@ test({ // Runs a simple server as another process const port = randomPort(); const p = Deno.run({ - args: [ + cmd: [ Deno.execPath(), "--allow-net", "http/testdata/simple_server.ts", @@ -405,7 +405,7 @@ test({ const port = randomPort(); // Runs a simple server as another process const p = Deno.run({ - args: [ + cmd: [ Deno.execPath(), "--allow-net", "--allow-read", -- cgit v1.2.3