From a28f9545e18918b68b5c07e0231f2af219a15bb7 Mon Sep 17 00:00:00 2001 From: Luciano Bestia Date: Sat, 13 Feb 2021 17:50:52 +0100 Subject: removed logging stuff --- crates/ide/src/folding_ranges.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'crates/ide/src') 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( #[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(); - } } -- cgit v1.2.3