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, 2 insertions, 7 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 955d283dd..22a5a610d 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs | |||
@@ -95,13 +95,8 @@ impl Server { | |||
95 | "test server", | 95 | "test server", |
96 | 128, | 96 | 128, |
97 | move |mut msg_receiver, mut msg_sender| { | 97 | move |mut msg_receiver, mut msg_sender| { |
98 | main_loop( | 98 | main_loop(roots, InitializationOptions::default(), &msg_receiver, &msg_sender) |
99 | roots, | 99 | .unwrap() |
100 | InitializationOptions::default(), | ||
101 | &mut msg_receiver, | ||
102 | &mut msg_sender, | ||
103 | ) | ||
104 | .unwrap() | ||
105 | }, | 100 | }, |
106 | ); | 101 | ); |
107 | let res = Server { req_id: Cell::new(1), dir, messages: Default::default(), worker }; | 102 | let res = Server { req_id: Cell::new(1), dir, messages: Default::default(), worker }; |