diff --git a/crates/git_ui/src/project_diff.rs b/crates/git_ui/src/project_diff.rs index db7510d8679c5c1569c3f43c3c3c95989156e8ba..e4c0e25671a3a3b8519d57a0e4f2335b81ced373 100644 --- a/crates/git_ui/src/project_diff.rs +++ b/crates/git_ui/src/project_diff.rs @@ -1076,7 +1076,7 @@ mod tests { cx.run_until_parked(); let editor = cx.update_window_entity(&diff, |diff, window, cx| { - diff.scroll_to_path( + diff.move_to_path( PathKey::namespaced(TRACKED_NAMESPACE, Path::new("foo").into()), window, cx, @@ -1097,7 +1097,7 @@ mod tests { ); let editor = cx.update_window_entity(&diff, |diff, window, cx| { - diff.scroll_to_path( + diff.move_to_path( PathKey::namespaced(TRACKED_NAMESPACE, Path::new("bar").into()), window, cx,