Fix worktree test flakiness (#29613)

Co-Authored-By: Cole <cole@zed.dev>

Closes #ISSUE

Release Notes:

- N/A

Co-authored-by: Cole <cole@zed.dev>
This commit is contained in:
Conrad Irwin 2025-04-29 13:15:01 -06:00 committed by GitHub
parent cf6b051b99
commit d732a7d361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8296,7 +8296,10 @@ async fn test_git_worktrees_and_submodules(cx: &mut gpui::TestAppContext) {
".git": {
"worktrees": {
"some-worktree": {
"commondir": "../..\n"
"commondir": "../..\n",
// For is_git_dir
"HEAD": "",
"config": ""
}
},
"modules": {