summaryrefslogtreecommitdiff
path: root/http/racing_server_test.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-07-29 17:46:21 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-07-29 08:46:21 +0000
commitb76007d25caf2cd9325813149a907c1e51728fca (patch)
treecc5faafb3985178f19f96bc9d5bd3d4198133346 /http/racing_server_test.ts
parent44efefbda6d30edc602257c1a2501259e7ef9626 (diff)
refactor: use Deno.execPath where possible (denoland/deno_std#548)
Original: https://github.com/denoland/deno_std/commit/287b0a9cd259952387739405152e031e9abcdb63
Diffstat (limited to 'http/racing_server_test.ts')
-rw-r--r--http/racing_server_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/racing_server_test.ts b/http/racing_server_test.ts
index dc16a49e1..a34f915d5 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", "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.