Skip to content

Commit a28f954

Browse files
Luciano BestiaLuciano Bestia
authored andcommitted
removed logging stuff
1 parent 75015b6 commit a28f954

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ide/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ completion = { path = "../completion", version = "0.0.0" }
3636
hir = { path = "../hir", version = "0.0.0" }
3737

3838
[dev-dependencies]
39-
expect-test = "1.1"
40-
env_logger = { version = "0.8.1", default-features = false }
39+
expect-test = "1.1"

crates/ide/src/folding_ranges.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,6 @@ fn foo<fold arglist>(
447447

448448
#[test]
449449
fn fold_region() {
450-
log_init_for_test_debug();
451-
// only error level log is printed on the terminal
452-
log::error!("test fold_region");
453450
check(
454451
r#"
455452
// 1. some normal comment
@@ -460,8 +457,4 @@ calling_function(x,y);
460457
"#,
461458
)
462459
}
463-
464-
fn log_init_for_test_debug() {
465-
let _ = env_logger::builder().is_test(true).try_init();
466-
}
467460
}

0 commit comments

Comments
 (0)