aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-28 13:49:30 +0000
committerGitHub <[email protected]>2021-01-28 13:49:30 +0000
commita3f5e7db557436a4e22cf4bcc66eaa5bc3661978 (patch)
tree6a75d6b115d59deb7e290da8f62c2b03babdb5f2 /crates
parent7e4cd6b4e4c67b36ad2091e565aa2a6ee4d9b4f6 (diff)
parenta44f6c18fb8b87c9e8deb1ff878f2fef84912b3f (diff)
Merge #7473
7473: Use RA_LOG in tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
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