diff options
author | Aleksey Kladov <[email protected]> | 2021-01-28 13:49:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-28 13:49:07 +0000 |
commit | a44f6c18fb8b87c9e8deb1ff878f2fef84912b3f (patch) | |
tree | 6a75d6b115d59deb7e290da8f62c2b03babdb5f2 /crates | |
parent | 7e4cd6b4e4c67b36ad2091e565aa2a6ee4d9b4f6 (diff) |
Use RA_LOG in tests
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/tests/rust-analyzer/support.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/tests/rust-analyzer/support.rs b/crates/rust-analyzer/tests/rust-analyzer/support.rs index f59958e8d..4c4b994fe 100644 --- a/crates/rust-analyzer/tests/rust-analyzer/support.rs +++ b/crates/rust-analyzer/tests/rust-analyzer/support.rs | |||
@@ -64,7 +64,7 @@ impl<'a> Project<'a> { | |||
64 | let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new()); | 64 | let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new()); |
65 | static INIT: Once = Once::new(); | 65 | static INIT: Once = Once::new(); |
66 | INIT.call_once(|| { | 66 | INIT.call_once(|| { |
67 | env_logger::builder().is_test(true).try_init().unwrap(); | 67 | env_logger::builder().is_test(true).parse_env("RA_LOG").try_init().unwrap(); |
68 | profile::init_from(crate::PROFILE); | 68 | profile::init_from(crate::PROFILE); |
69 | }); | 69 | }); |
70 | 70 | ||