Change summary
crates/collab/src/tests/following_tests.rs | 4 ++--
crates/project/src/lsp_store.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Detailed changes
@@ -573,7 +573,7 @@ async fn test_following_tab_order(
client_a
.fs()
.insert_tree(
- "/a",
+ path!("/a"),
json!({
"1.txt": "one",
"2.txt": "two",
@@ -581,7 +581,7 @@ async fn test_following_tab_order(
}),
)
.await;
- let (project_a, worktree_id) = client_a.build_local_project("/a", cx_a).await;
+ let (project_a, worktree_id) = client_a.build_local_project(path!("/a"), cx_a).await;
active_call_a
.update(cx_a, |call, cx| call.set_location(Some(&project_a), cx))
.await
@@ -3891,7 +3891,7 @@ impl LspStore {
*refcount += 1;
}
- if !ignore_refcounts || *refcount == 1 {
+ if ignore_refcounts || *refcount == 1 {
local.register_buffer_with_language_servers(buffer, cx);
}
if !ignore_refcounts {