removed logging stuff

This commit is contained in:
Luciano Bestia 2021-02-13 17:50:52 +01:00
parent 75015b6eaa
commit a28f9545e1
3 changed files with 1 additions and 10 deletions

1
Cargo.lock generated
View File

@ -634,7 +634,6 @@ dependencies = [
"cfg",
"completion",
"either",
"env_logger",
"expect-test",
"hir",
"ide_db",

View File

@ -36,5 +36,4 @@ completion = { path = "../completion", version = "0.0.0" }
hir = { path = "../hir", version = "0.0.0" }
[dev-dependencies]
expect-test = "1.1"
env_logger = { version = "0.8.1", default-features = false }
expect-test = "1.1"

View File

@ -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();
}
}