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, 8 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 08f7ad6fd..8bfc8d622 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs | |||
@@ -23,6 +23,7 @@ use test_utils::{parse_fixture, find_mismatch}; | |||
23 | 23 | ||
24 | use ra_lsp_server::{ | 24 | use ra_lsp_server::{ |
25 | main_loop, req, | 25 | main_loop, req, |
26 | InitializationOptions, | ||
26 | }; | 27 | }; |
27 | 28 | ||
28 | pub fn project(fixture: &str) -> Server { | 29 | pub fn project(fixture: &str) -> Server { |
@@ -57,7 +58,13 @@ impl Server { | |||
57 | "test server", | 58 | "test server", |
58 | 128, | 59 | 128, |
59 | move |mut msg_receiver, mut msg_sender| { | 60 | move |mut msg_receiver, mut msg_sender| { |
60 | main_loop(path, true, &mut msg_receiver, &mut msg_sender).unwrap() | 61 | main_loop( |
62 | path, | ||
63 | InitializationOptions::default(), | ||
64 | &mut msg_receiver, | ||
65 | &mut msg_sender, | ||
66 | ) | ||
67 | .unwrap() | ||
61 | }, | 68 | }, |
62 | ); | 69 | ); |
63 | let res = Server { | 70 | let res = Server { |