Fix failing tests

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Julia 2023-04-19 15:57:20 -04:00 committed by Max Brunsfeld
parent 6156dbced0
commit df94aee758
3 changed files with 8 additions and 6 deletions

View file

@ -400,7 +400,7 @@ async fn test_managing_language_servers(
.text_document,
lsp::TextDocumentItem {
uri: lsp::Url::from_file_path("/the-root/test.rs").unwrap(),
version: 1,
version: 0,
text: rust_buffer.read_with(cx, |buffer, _| buffer.text()),
language_id: Default::default()
}
@ -427,7 +427,7 @@ async fn test_managing_language_servers(
},
lsp::TextDocumentItem {
uri: lsp::Url::from_file_path("/the-root/test3.json").unwrap(),
version: 1,
version: 0,
text: rust_buffer2.read_with(cx, |buffer, _| buffer.text()),
language_id: Default::default()
}