diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-27 15:22:53 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-27 15:22:53 +0000 |
commit | e1dd31e7e284ef49c2de317a1a81da7a854ffc63 (patch) | |
tree | 96b72727cb786e1a3be2a333da99cd7712c4dff2 /crates/ra_lsp_server/tests | |
parent | 2e2a6dd2fbeb4da16e602fa1902ab6bbd850b442 (diff) | |
parent | 7463f5debbefe02f2a6e9ad341def4ec57922de9 (diff) |
Merge #905
905: Update deps r=kjeremy a=kjeremy
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/tests')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/support.rs | 4 |
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 | ||
27 | pub fn project(fixture: &str) -> Server { | 27 | pub 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![]; |