wip
This commit is contained in:
parent
1d990806df
commit
890ff160d7
1 changed files with 11 additions and 1 deletions
|
@ -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"],
|
||||||
|
&[],
|
||||||
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue