diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-22 11:14:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 16:14:53 +0000 |
commit | b4b718d6aefd7c234b8d632d0d67293a7ab9e22b (patch) | |
tree | e4200943190b60c7cdf303203dbe7c60a53dc5be /cli/tests/testdata | |
parent | a2d942a778879282f9dbd0a7ad3bfedce9100d55 (diff) |
fix(lint): revert no-deprecated-api for Deno.run (#17880)
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/coverage/complex_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/testdata/test/captured_output.ts | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/cli/tests/testdata/coverage/complex_test.ts b/cli/tests/testdata/coverage/complex_test.ts index d6e9c2691..1202289cb 100644 --- a/cli/tests/testdata/coverage/complex_test.ts +++ b/cli/tests/testdata/coverage/complex_test.ts @@ -7,7 +7,6 @@ Deno.test("complex", function () { Deno.test("sub process with stdin", async () => { // ensure launching deno run with stdin doesn't affect coverage const code = "console.log('5')"; - // deno-lint-ignore no-deprecated-deno-api const p = await Deno.run({ cmd: [Deno.execPath(), "run", "-"], stdin: "piped", @@ -26,7 +25,6 @@ Deno.test("sub process with stdin", async () => { Deno.test("sub process with deno eval", async () => { // ensure launching deno eval doesn't affect coverage const code = "console.log('5')"; - // deno-lint-ignore no-deprecated-deno-api const p = await Deno.run({ cmd: [Deno.execPath(), "eval", code], stdout: "piped", diff --git a/cli/tests/testdata/test/captured_output.ts b/cli/tests/testdata/test/captured_output.ts index 905156fd4..43295f027 100644 --- a/cli/tests/testdata/test/captured_output.ts +++ b/cli/tests/testdata/test/captured_output.ts @@ -1,5 +1,4 @@ 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);"], }); |