aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/tests/heavy_tests/support.rs4
1 files changed, 3 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 11f94b4ab..f4e7eaf75 100644
--- a/crates/ra_lsp_server/tests/heavy_tests/support.rs
+++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs
@@ -26,7 +26,9 @@ use ra_lsp_server::{
26 26
27pub fn project(fixture: &str) -> Server { 27pub fn project(fixture: &str) -> Server {
28 static INIT: Once = Once::new(); 28 static INIT: Once = Once::new();
29 INIT.call_once(|| Logger::with_env_or_str(crate::LOG).start().unwrap()); 29 INIT.call_once(|| {
30 let _ = Logger::with_env_or_str(crate::LOG).start().unwrap();
31 });
30 32
31 let tmp_dir = TempDir::new().unwrap(); 33 let tmp_dir = TempDir::new().unwrap();
32 let mut paths = vec![]; 34 let mut paths = vec![];