Added status trickle up

This commit is contained in:
Mikayla Maki 2023-05-11 12:01:42 -07:00
parent 5accf7cf4e
commit 5b2ee63f80
No known key found for this signature in database
8 changed files with 88 additions and 8 deletions

View file

@ -2760,7 +2760,7 @@ async fn test_git_status_sync(
let worktree = worktrees[0].clone();
let snapshot = worktree.read(cx).snapshot();
let root_entry = snapshot.root_git_entry().unwrap();
assert_eq!(root_entry.status_for(&snapshot, file), status);
assert_eq!(root_entry.status_for_file(&snapshot, file), status);
}
// Smoke test status reading