summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-04-27 04:52:52 +0200
committerGitHub <noreply@github.com>2023-04-27 02:52:52 +0000
commit4192978c3afc943b93d9fae0f65822a2c4edfa62 (patch)
tree2d8f2e45da287ee9fee27009bc6ce93b8b3bd64c /cli/tests/testdata/test
parenta16ad526e94304063f8efba710503bfd288d0248 (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/testdata/test')
-rw-r--r--cli/tests/testdata/test/captured_output.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/captured_output.ts b/cli/tests/testdata/test/captured_output.ts
index 43295f027..905156fd4 100644
--- a/cli/tests/testdata/test/captured_output.ts
+++ b/cli/tests/testdata/test/captured_output.ts
@@ -1,4 +1,5 @@
Deno.test("output", async () => {
+ // deno-lint-ignore no-deprecated-deno-api
const p = Deno.run({
cmd: [Deno.execPath(), "eval", "console.log(0); console.error(1);"],
});