diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-28 13:49:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-28 13:49:30 +0000 |
| commit | a3f5e7db557436a4e22cf4bcc66eaa5bc3661978 (patch) | |
| tree | 6a75d6b115d59deb7e290da8f62c2b03babdb5f2 | |
| parent | 7e4cd6b4e4c67b36ad2091e565aa2a6ee4d9b4f6 (diff) | |
| parent | a44f6c18fb8b87c9e8deb1ff878f2fef84912b3f (diff) | |
| download | rust-a3f5e7db557436a4e22cf4bcc66eaa5bc3661978.tar.gz rust-a3f5e7db557436a4e22cf4bcc66eaa5bc3661978.zip | |
Merge #7473
7473: Use RA_LOG in tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
| -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 f59958e8db7..4c4b994fe59 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> { let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new()); static INIT: Once = Once::new(); INIT.call_once(|| { - env_logger::builder().is_test(true).try_init().unwrap(); + env_logger::builder().is_test(true).parse_env("RA_LOG").try_init().unwrap(); profile::init_from(crate::PROFILE); }); |
