Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Append `-- --nocapture` to Rust function-level tests (#10299)

Kirill Bulatov4a3032c5e5c3
diff --git a/crates/languages/src/rust.rs b/crates/languages/src/rust.rs
index 9ba11f3b526..d9d37fc459b 100644
--- a/crates/languages/src/rust.rs
+++ b/crates/languages/src/rust.rs
@@ -376,8 +376,9 @@ impl ContextProvider for RustContextProvider {
"test".into(),
"-p".into(),
RUST_PACKAGE_TASK_VARIABLE.template_value(),
- "--".into(),
VariableName::Symbol.template_value(),
+ "--".into(),
+ "--nocapture".into(),
],
..Definition::default()
},