refactor(lsp): changes for lsp_types 0.97.0 (#25169)

This commit is contained in:
Nayeem Rahman 2024-08-24 01:21:21 +01:00 committed by GitHub
parent bbd3a7e637
commit 2ab4afc6b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 633 additions and 548 deletions

View file

@ -5,6 +5,7 @@ use super::lsp_custom::TestData;
use crate::lsp::client::TestingNotification;
use crate::lsp::logging::lsp_warn;
use crate::lsp::urls::url_to_uri;
use crate::tools::test::TestDescription;
use crate::tools::test::TestStepDescription;
use crate::util::checksum;
@ -147,7 +148,7 @@ impl TestModule {
let label = self.label(maybe_root_uri);
TestingNotification::Module(lsp_custom::TestModuleNotificationParams {
text_document: lsp::TextDocumentIdentifier {
uri: self.specifier.clone(),
uri: url_to_uri(&self.specifier),
},
kind: lsp_custom::TestModuleNotificationKind::Replace,
label,