aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src')
-rw-r--r--crates/ide/src/folding_ranges.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/ide/src/folding_ranges.rs b/crates/ide/src/folding_ranges.rs
index 531f3c951..4b1b24562 100644
--- a/crates/ide/src/folding_ranges.rs
+++ b/crates/ide/src/folding_ranges.rs
@@ -447,9 +447,6 @@ fn foo<fold arglist>(
447 447
448 #[test] 448 #[test]
449 fn fold_region() { 449 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");
453 check( 450 check(
454 r#" 451 r#"
455// 1. some normal comment 452// 1. some normal comment
@@ -460,8 +457,4 @@ calling_function(x,y);
460"#, 457"#,
461 ) 458 )
462 } 459 }
463
464 fn log_init_for_test_debug() {
465 let _ = env_logger::builder().is_test(true).try_init();
466 }
467} 460}