This commit is contained in:
Cole Miller 2025-07-22 08:47:32 -07:00
parent 1d990806df
commit 890ff160d7

View file

@ -2116,6 +2116,10 @@ async fn test_global_gitignore(executor: BackgroundExecutor, cx: &mut TestAppCon
"foo": "", "foo": "",
"bar": "", "bar": "",
"sub": { "sub": {
"bar": "",
},
"subrepo": {
".git": {},
"bar": "" "bar": ""
}, },
"baz": "" "baz": ""
@ -2140,7 +2144,13 @@ async fn test_global_gitignore(executor: BackgroundExecutor, cx: &mut TestAppCon
cx.run_until_parked(); cx.run_until_parked();
worktree.update(cx, |worktree, _cx| { worktree.update(cx, |worktree, _cx| {
check_worktree_entries(worktree, &[], &["foo", "bar"], &["sub/bar", "baz"], &[]); check_worktree_entries(
worktree,
&[],
&["foo", "bar", "subrepo/bar"],
&["sub/bar", "baz"],
&[],
);
}) })
} }