summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/file_server_test.ts2
-rw-r--r--http/racing_server_test.ts2
-rw-r--r--http/server_test.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts
index bac82e825..6623406d0 100644
--- a/http/file_server_test.ts
+++ b/http/file_server_test.ts
@@ -11,7 +11,7 @@ let fileServer: Deno.Process;
async function startFileServer(): Promise<void> {
fileServer = run({
args: [
- Deno.execPath,
+ Deno.execPath(),
"run",
"--allow-read",
"--allow-net",
diff --git a/http/racing_server_test.ts b/http/racing_server_test.ts
index a34f915d5..6d1ed0277 100644
--- a/http/racing_server_test.ts
+++ b/http/racing_server_test.ts
@@ -8,7 +8,7 @@ import { TextProtoReader } from "../textproto/mod.ts";
let server: Deno.Process;
async function startServer(): Promise<void> {
server = run({
- args: [Deno.execPath, "run", "-A", "http/racing_server.ts"],
+ args: [Deno.execPath(), "run", "-A", "http/racing_server.ts"],
stdout: "piped"
});
// Once racing server is ready it will write to its stdout.
diff --git a/http/server_test.ts b/http/server_test.ts
index f16293f77..4a904a6f7 100644
--- a/http/server_test.ts
+++ b/http/server_test.ts
@@ -493,7 +493,7 @@ test({
async fn(): Promise<void> {
// Runs a simple server as another process
const p = Deno.run({
- args: [Deno.execPath, "http/testdata/simple_server.ts", "--allow-net"],
+ args: [Deno.execPath(), "http/testdata/simple_server.ts", "--allow-net"],
stdout: "piped"
});