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.

editor: Fix compile errors after bad merge (#25374)

Marshall Bowersb9ca24024289
diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rs
index 05b80ce3987..dc5173c8e08 100644
--- a/crates/editor/src/editor_tests.rs
+++ b/crates/editor/src/editor_tests.rs
@@ -14843,7 +14843,7 @@ async fn test_adjacent_diff_hunks(executor: BackgroundExecutor, cx: &mut TestApp
);
cx.set_diff_base(&diff_base);
cx.update_editor(|editor, window, cx| {
- editor.expand_all_diff_hunks(&ExpandAllHunkDiffs, window, cx);
+ editor.expand_all_diff_hunks(&ExpandAllDiffHunks, window, cx);
});
executor.run_until_parked();
@@ -14936,7 +14936,7 @@ async fn test_adjacent_diff_hunks(executor: BackgroundExecutor, cx: &mut TestApp
);
cx.update_editor(|editor, window, cx| {
- editor.expand_all_diff_hunks(&ExpandAllHunkDiffs, window, cx);
+ editor.expand_all_diff_hunks(&ExpandAllDiffHunks, window, cx);
});
cx.assert_state_with_diff(