summaryrefslogtreecommitdiff
path: root/std/examples/tests/echo_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/tests/echo_server_test.ts')
-rw-r--r--std/examples/tests/echo_server_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/tests/echo_server_test.ts b/std/examples/tests/echo_server_test.ts
index 9c413d737..3e6096190 100644
--- a/std/examples/tests/echo_server_test.ts
+++ b/std/examples/tests/echo_server_test.ts
@@ -6,7 +6,7 @@ Deno.test("[examples/echo_server]", async () => {
const encoder = new TextEncoder();
const decoder = new TextDecoder();
const process = Deno.run({
- cmd: [Deno.execPath(), "--allow-net", "echo_server.ts"],
+ cmd: [Deno.execPath(), "run", "--allow-net", "echo_server.ts"],
cwd: "examples",
stdout: "piped",
});