From a3e4559b0ea90666047ad4c7d338d7a5daf04d51 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:57:43 +0100 Subject: [PATCH] Fix git test compilation --- crates/editor2/src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor2/src/git.rs b/crates/editor2/src/git.rs index 0e7501c16936be794f1a4ead6f5d7f2e182b0126..f798ab9fb636efb46fc806442af301f3e2b05671 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, snapshot: &DisplaySnapshot) -> } } -#[cfg(any(test, feature = "test-support"))] +#[cfg(test)] mod tests { use crate::editor_tests::init_test; use crate::Point;