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.

Fix git test compilation

Piotr Osiewicza3e4559b0ea9
diff --git a/crates/editor2/src/git.rs b/crates/editor2/src/git.rs
index 0e7501c1693..f798ab9fb63 100644
--- a/crates/editor2/src/git.rs
+++ b/crates/editor2/src/git.rs
@@ -88,7 +88,7 @@ pub fn diff_hunk_to_display(hunk: DiffHunk<u32>, snapshot: &DisplaySnapshot) ->
}
}
-#[cfg(any(test, feature = "test-support"))]
+#[cfg(test)]
mod tests {
use crate::editor_tests::init_test;
use crate::Point;