mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 07:37:30 +00:00
removed logging stuff
This commit is contained in:
parent
75015b6eaa
commit
a28f9545e1
3 changed files with 1 additions and 10 deletions
|
@ -447,9 +447,6 @@ fn foo<fold arglist>(
|
|||
|
||||
#[test]
|
||||
fn fold_region() {
|
||||
log_init_for_test_debug();
|
||||
// only error level log is printed on the terminal
|
||||
log::error!("test fold_region");
|
||||
check(
|
||||
r#"
|
||||
// 1. some normal comment
|
||||
|
@ -460,8 +457,4 @@ calling_function(x,y);
|
|||
"#,
|
||||
)
|
||||
}
|
||||
|
||||
fn log_init_for_test_debug() {
|
||||
let _ = env_logger::builder().is_test(true).try_init();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue