summaryrefslogtreecommitdiff
path: root/std/examples/tests/curl_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/tests/curl_test.ts')
-rw-r--r--std/examples/tests/curl_test.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/std/examples/tests/curl_test.ts b/std/examples/tests/curl_test.ts
index 9b2870216..69e0e52d6 100644
--- a/std/examples/tests/curl_test.ts
+++ b/std/examples/tests/curl_test.ts
@@ -14,7 +14,13 @@ Deno.test({
const decoder = new TextDecoder();
const process = Deno.run({
- cmd: [Deno.execPath(), "--allow-net", "curl.ts", "http://localhost:8081"],
+ cmd: [
+ Deno.execPath(),
+ "run",
+ "--allow-net",
+ "curl.ts",
+ "http://localhost:8081",
+ ],
cwd: "examples",
stdout: "piped",
});