aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-28 13:49:07 +0000
committerAleksey Kladov <[email protected]>2021-01-28 13:49:07 +0000
commita44f6c18fb8b87c9e8deb1ff878f2fef84912b3f (patch)
tree6a75d6b115d59deb7e290da8f62c2b03babdb5f2 /crates
parent7e4cd6b4e4c67b36ad2091e565aa2a6ee4d9b4f6 (diff)
Use RA_LOG in tests
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/tests/rust-analyzer/support.rs2
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