diff --git a/tools/lsp/common/document_cache.rs b/tools/lsp/common/document_cache.rs index 2e5fed8230..db4215ecfd 100644 --- a/tools/lsp/common/document_cache.rs +++ b/tools/lsp/common/document_cache.rs @@ -359,7 +359,7 @@ impl DocumentCache { #[cfg(test)] mod tests { - use crate::test::complex_document_cache; + use crate::language::test::complex_document_cache; use super::*; diff --git a/tools/lsp/language.rs b/tools/lsp/language.rs index 7f5dc6ef65..ad18ab514b 100644 --- a/tools/lsp/language.rs +++ b/tools/lsp/language.rs @@ -1245,7 +1245,7 @@ pub mod tests { use lsp_types::WorkspaceEdit; - use test::{complex_document_cache, loaded_document_cache}; + use crate::language::test::{complex_document_cache, loaded_document_cache}; #[test] fn test_reload_document_invalid_contents() {