test: refresh git branch cache in sidebar test

This commit is contained in:
Ogulcan Celik 2026-04-21 18:15:12 +03:00
parent bc410c4261
commit d45dd05f75
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ mod tests {
ws.identity_cwd = repo.clone();
let root_pane = ws.tabs[0].root_pane;
ws.tabs[0].pane_cwds.insert(root_pane, repo.clone());
ws.refresh_git_ahead_behind();
app.workspaces = vec![ws];
app.selected = 0;