Skip to content

Commit

Permalink
editor: Fix compile errors after bad merge (#25374)
Browse files Browse the repository at this point in the history
This PR fixes the compile errors after
#25367 was merged without
passing CI.

Release Notes:

- N/A
  • Loading branch information
maxdeviant authored Feb 22, 2025
1 parent 5d751cd commit b9ca240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/editor/src/editor_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit b9ca240

Please sign in to comment.