diff options
Diffstat (limited to 'cli/lsp/testing')
-rw-r--r-- | cli/lsp/testing/definitions.rs | 2 | ||||
-rw-r--r-- | cli/lsp/testing/execution.rs | 2 | ||||
-rw-r--r-- | cli/lsp/testing/lsp_custom.rs | 2 | ||||
-rw-r--r-- | cli/lsp/testing/server.rs | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/cli/lsp/testing/definitions.rs b/cli/lsp/testing/definitions.rs index 0fa6a8fd5..aad667959 100644 --- a/cli/lsp/testing/definitions.rs +++ b/cli/lsp/testing/definitions.rs @@ -8,8 +8,8 @@ use crate::lsp::client::TestingNotification; use deno_ast::swc::common::Span; use deno_ast::SourceTextInfo; use deno_core::ModuleSpecifier; -use lspower::lsp; use std::collections::HashMap; +use tower_lsp::lsp_types as lsp; fn span_to_range( span: &Span, diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 03436ad6a..dcf980fd6 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -28,7 +28,6 @@ use deno_core::serde_json::Value; use deno_core::ModuleSpecifier; use deno_runtime::permissions::Permissions; use deno_runtime::tokio_util::run_basic; -use lspower::lsp; use std::collections::HashMap; use std::collections::HashSet; use std::sync::Arc; @@ -36,6 +35,7 @@ use std::time::Duration; use std::time::Instant; use tokio::sync::mpsc; use tokio_util::sync::CancellationToken; +use tower_lsp::lsp_types as lsp; /// Logic to convert a test request into a set of test modules to be tested and /// any filters to be applied to those tests diff --git a/cli/lsp/testing/lsp_custom.rs b/cli/lsp/testing/lsp_custom.rs index c1182b04e..f114a8b35 100644 --- a/cli/lsp/testing/lsp_custom.rs +++ b/cli/lsp/testing/lsp_custom.rs @@ -2,7 +2,7 @@ use deno_core::serde::Deserialize; use deno_core::serde::Serialize; -use lspower::lsp; +use tower_lsp::lsp_types as lsp; pub const TEST_RUN_CANCEL_REQUEST: &str = "deno/testRunCancel"; pub const TEST_RUN_REQUEST: &str = "deno/testRun"; diff --git a/cli/lsp/testing/server.rs b/cli/lsp/testing/server.rs index b176fea68..ab8f99c0e 100644 --- a/cli/lsp/testing/server.rs +++ b/cli/lsp/testing/server.rs @@ -18,14 +18,14 @@ use deno_core::serde_json::json; use deno_core::serde_json::Value; use deno_core::ModuleSpecifier; use deno_runtime::tokio_util::create_basic_runtime; -use lspower::jsonrpc::Error as LspError; -use lspower::jsonrpc::Result as LspResult; -use lspower::lsp; use std::collections::HashMap; use std::collections::HashSet; use std::sync::Arc; use std::thread; use tokio::sync::mpsc; +use tower_lsp::jsonrpc::Error as LspError; +use tower_lsp::jsonrpc::Result as LspResult; +use tower_lsp::lsp_types as lsp; fn as_delete_notification(uri: ModuleSpecifier) -> TestingNotification { TestingNotification::DeleteModule( |