diff options
Diffstat (limited to 'crates/ra_lsp_server/tests/heavy_tests/support.rs')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/support.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 75912afdd..a5e352da1 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs | |||
@@ -11,20 +11,17 @@ use flexi_logger::Logger; | |||
11 | use gen_lsp_server::{RawMessage, RawNotification, RawRequest}; | 11 | use gen_lsp_server::{RawMessage, RawNotification, RawRequest}; |
12 | use lsp_types::{ | 12 | use lsp_types::{ |
13 | notification::DidOpenTextDocument, | 13 | notification::DidOpenTextDocument, |
14 | notification::{Notification, ShowMessage}, | ||
14 | request::{Request, Shutdown}, | 15 | request::{Request, Shutdown}, |
15 | DidOpenTextDocumentParams, TextDocumentIdentifier, TextDocumentItem, Url, | 16 | DidOpenTextDocumentParams, TextDocumentIdentifier, TextDocumentItem, Url, |
16 | notification::{Notification, ShowMessage}, | ||
17 | }; | 17 | }; |
18 | use serde::Serialize; | 18 | use serde::Serialize; |
19 | use serde_json::{to_string_pretty, Value}; | 19 | use serde_json::{to_string_pretty, Value}; |
20 | use tempfile::TempDir; | 20 | use tempfile::TempDir; |
21 | use test_utils::{find_mismatch, parse_fixture}; | ||
21 | use thread_worker::Worker; | 22 | use thread_worker::Worker; |
22 | use test_utils::{parse_fixture, find_mismatch}; | ||
23 | 23 | ||
24 | use ra_lsp_server::{ | 24 | use ra_lsp_server::{main_loop, req, InitializationOptions}; |
25 | main_loop, req, | ||
26 | InitializationOptions, | ||
27 | }; | ||
28 | 25 | ||
29 | pub struct Project<'a> { | 26 | pub struct Project<'a> { |
30 | fixture: &'a str, | 27 | fixture: &'a str, |