diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-27 04:52:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 02:52:52 +0000 |
commit | 4192978c3afc943b93d9fae0f65822a2c4edfa62 (patch) | |
tree | 2d8f2e45da287ee9fee27009bc6ce93b8b3bd64c /cli/tests/unit/http_test.ts | |
parent | a16ad526e94304063f8efba710503bfd288d0248 (diff) |
feat(lint): add `Deno.run` to `no-deprecated-deno-api` (#18869)
This upgrade includes a warning for the deprecated "Deno.run()" API.
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/tests/unit/http_test.ts')
-rw-r--r-- | cli/tests/unit/http_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index f407c9186..d9d1655fa 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -2085,6 +2085,7 @@ Deno.test({ "--header", "Accept-Encoding: deflate, gzip", ]; + // deno-lint-ignore no-deprecated-deno-api const proc = Deno.run({ cmd, stdout: "piped", stderr: "null" }); const status = await proc.status(); assert(status.success); @@ -2147,6 +2148,7 @@ Deno.test({ "--header", "Accept-Encoding: deflate, gzip", ]; + // deno-lint-ignore no-deprecated-deno-api const proc = Deno.run({ cmd, stdout: "piped", stderr: "null" }); const status = await proc.status(); assert(status.success); |