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.

Silence error logs in `zed` tests (#13069)

Marshall Bowersea69846281a9
diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs
index 7b039291bc4..970b6d71805 100644
--- a/crates/zed/src/zed.rs
+++ b/crates/zed/src/zed.rs
@@ -3121,7 +3121,7 @@ mod tests {
fn init_test(cx: &mut TestAppContext) -> Arc<AppState> {
cx.update(|cx| {
- env_logger::try_init().ok();
+ env_logger::builder().is_test(true).try_init().ok();
let mut app_state = AppState::test(cx);