Fix relative path opening from project symbols
Co-Authored-By: Max <max@zed.dev>
This commit is contained in:
parent
604fcd8f1d
commit
71149bc7cc
5 changed files with 27 additions and 20 deletions
|
@ -1297,7 +1297,7 @@ mod tests {
|
|||
// so that one should be sorted earlier
|
||||
let b_path = ProjectPath {
|
||||
worktree_id,
|
||||
path: Arc::from(Path::new("/root/dir2/b.txt")),
|
||||
path: Arc::from(Path::new("dir2/b.txt")),
|
||||
};
|
||||
workspace
|
||||
.update(cx, |workspace, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue