diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-17 10:05:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 10:05:42 -0500 |
commit | 29011d592968d4d645b909ee28d5fffe0473f285 (patch) | |
tree | 6fff9ff335ce75898060d1c658b028d033b1abdc /cli/tests/integration/lsp_tests.rs | |
parent | b7d14d9bd56b392d95f31fe90f66a469d3ce4a87 (diff) |
chore: various improvements to tests (#21222)
Diffstat (limited to 'cli/tests/integration/lsp_tests.rs')
-rw-r--r-- | cli/tests/integration/lsp_tests.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 92b53b3b1..8ec1bdd41 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -8,7 +8,6 @@ use deno_core::serde_json::Value; use deno_core::url::Url; use pretty_assertions::assert_eq; use std::fs; -use std::process::Stdio; use test_util::assert_starts_with; use test_util::deno_cmd_with_deno_dir; use test_util::env_vars_for_npm_tests; @@ -7130,8 +7129,7 @@ fn lsp_npm_specifier_unopened_file() { .arg("--quiet") .arg("other.ts") .envs(env_vars_for_npm_tests()) - .stdout(Stdio::piped()) - .stderr(Stdio::piped()) + .piped_output() .spawn() .unwrap(); let output = deno.wait_with_output().unwrap(); |